소스 검색

read videos in mainStore.ts

tomoya 2 년 전
부모
커밋
23de191b5b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      frontend/src/stores/main.ts

+ 1 - 0
frontend/src/stores/main.ts

@@ -32,6 +32,7 @@ export const useMainStore = defineStore("MainStoreId", {
     readToken: (state) => state.token,
     readIsLoggedIn: (state) => state.isLoggedIn,
     readFirstNotification: (state) => state.notifications.length > 0 && state.notifications[0],
+    readVideos: (state) => state.videos,
   },
 
   actions: {