소스 검색

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

Kristian Vos 3 년 전
부모
커밋
cf7686a4fe
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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
 		}),