Browse Source

fix: non-admin users couldn't delete their own playlist

Kristian Vos 3 years ago
parent
commit
cf7686a4fe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frontend/src/components/modals/EditPlaylist/index.vue

+ 1 - 0
frontend/src/components/modals/EditPlaylist/index.vue

@@ -303,6 +303,7 @@ export default {
 			}
 		},
 		...mapState({
+			loggedIn: state => state.user.auth.loggedIn,
 			userId: state => state.user.auth.userId,
 			userRole: state => state.user.auth.role
 		}),