| 
														
															@@ -21,10 +21,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				<div 
														 | 
														
														 | 
														
															 				<div 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					id="playlist-settings-section" 
														 | 
														
														 | 
														
															 					id="playlist-settings-section" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					v-if="userId === playlist.createdBy || isEditable()" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					v-if=" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						userId === playlist.createdBy || 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							isEditable() || 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							(playlist.type === 'genre' && isAdmin()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					class="section" 
														 | 
														
														 | 
														
															 					class="section" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				> 
														 | 
														
														 | 
														
															 				> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<div v-if="isEditable()"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<div v-if="userId === playlist.createdBy || isEditable()"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<h4 class="section-title">Edit Details</h4> 
														 | 
														
														 | 
														
															 						<h4 class="section-title">Edit Details</h4> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<p class="section-description"> 
														 | 
														
														 | 
														
															 						<p class="section-description"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -56,7 +60,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						</div> 
														 | 
														
														 | 
														
															 						</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					</div> 
														 | 
														
														 | 
														
															 					</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<div> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<div 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						v-if=" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							isEditable() || 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								(playlist.type === 'genre' && isAdmin()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<label class="label"> Change privacy </label> 
														 | 
														
														 | 
														
															 						<label class="label"> Change privacy </label> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<div class="control is-grouped input-with-button"> 
														 | 
														
														 | 
														
															 						<div class="control is-grouped input-with-button"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 							<div class="control is-expanded select"> 
														 | 
														
														 | 
														
															 							<div class="control is-expanded select"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -572,6 +581,9 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					this.userRole === "admin") 
														 | 
														
														 | 
														
															 					this.userRole === "admin") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			); 
														 | 
														
														 | 
														
															 			); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		}, 
														 | 
														
														 | 
														
															 		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		isAdmin() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			return this.userRole === "admin"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		updateSongPositioning({ moved }) { 
														 | 
														
														 | 
														
															 		updateSongPositioning({ moved }) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if (!moved) return; // we only need to update when song is moved 
														 | 
														
														 | 
														
															 			if (!moved) return; // we only need to update when song is moved 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |