Merge pull request #36 from danejur/master
small fix to prevent JS error from displaying when no track is loaded
This commit is contained in:
		
						commit
						babaebeca9
					
				| @ -44,7 +44,7 @@ | ||||
|               <b-button title="Favourite" | ||||
|                         variant="link" class="m-0" | ||||
|                         @click="toggleFavourite"> | ||||
|                 <Icon :icon="track.favourite ? 'heart-fill' : 'heart'" /> | ||||
|                 <Icon :icon="track && track.favourite ? 'heart-fill' : 'heart'" /> | ||||
|               </b-button> | ||||
|               <b-button id="player-volume-btn" variant="link" title="Volume"> | ||||
|                 <Icon :icon="muteActive ? 'volume-mute-fill' : 'volume-up-fill'" /> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user