Browse Source

read videos in mainStore.ts

tomoya 2 năm trước cách đây
mục cha
commit
23de191b5b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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: {