Explorar o código

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

Kristian Vos %!s(int64=3) %!d(string=hai) anos
pai
achega
cf7686a4fe
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
 		}),