copy track list when setting queue
This commit is contained in:
		
							parent
							
								
									d89bbfe5f7
								
							
						
					
					
						commit
						0d0014e559
					
				| @ -88,7 +88,7 @@ export const playerModule: Module<State, any> = { | |||||||
| 
 | 
 | ||||||
|   actions: { |   actions: { | ||||||
|     async playQueue({ commit }, { queue, index }) { |     async playQueue({ commit }, { queue, index }) { | ||||||
|       commit("setQueue", queue); |       commit("setQueue", [...queue]); | ||||||
|       commit("setQueueIndex", index); |       commit("setQueueIndex", index); | ||||||
|       commit("setPlaying"); |       commit("setPlaying"); | ||||||
|       await audio.play(); |       await audio.play(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user