Explorar o código

read videos in mainStore.ts

tomoya %!s(int64=2) %!d(string=hai) anos
pai
achega
23de191b5b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: {