Browse Source

Fixed official playlists and queue button.

KrisVos130 8 years ago
parent
commit
a20ed14874
2 changed files with 2 additions and 2 deletions
  1. 1 1
      backend/logic/stations.js
  2. 1 1
      frontend/components/Station/CommunityHeader.vue

+ 1 - 1
backend/logic/stations.js

@@ -277,7 +277,7 @@ module.exports = {
 		if (lockdown) return;
 		let lessInfoPlaylist = [];
 		async.each(songList, (song, next) => {
-			songs.getSongFromId(song, (err, song) => {
+			songs.getSong(song, (err, song) => {
 				if (!err && song) {
 					let newSong = {
 						songId: song.songId,

+ 1 - 1
frontend/components/Station/CommunityHeader.vue

@@ -99,7 +99,7 @@
 				</a>
 				<hr>
 			</div>
-			<a class="sidebar-item" href='#' @click='$parent.toggleSidebar("songslist")'>
+			<a class="sidebar-item" href='#' @click='$parent.toggleSidebar("songslist")' v-if='$parent.station.partyMode === true'>
 				<span class='icon'>
 					<i class='material-icons'>queue_music</i>
 				</span>