Explorar el Código

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

Kristian Vos hace 3 años
padre
commit
cf7686a4fe
Se han modificado 1 ficheros con 1 adiciones y 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
 		}),