Ver Fonte

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

Kristian Vos há 3 anos atrás
pai
commit
cf7686a4fe
1 ficheiros alterados com 1 adições e 0 exclusões
  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
 		}),