Browse Source

read videos in mainStore.ts

tomoya 2 years ago
parent
commit
23de191b5b
1 changed files with 1 additions and 0 deletions
  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: {