Skip to content

Commit

Permalink
! Fix export playlist button visible in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Dec 4, 2024
1 parent 0eb8271 commit 68efc65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/components/playlist-info/playlist-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ export default defineComponent({
},

exportPlaylistButtonVisible: function() {
// Most UI should be invisible in edit mode
if (this.editMode) { return false }
// Only online playlists can be shared
if (!this.isUserPlaylist) { return false }

Expand Down

0 comments on commit 68efc65

Please sign in to comment.