Skip to content

A self-hosted media server and file management system

typescript fix

aminnausin300905bc3fff
diff --git a/resources/js/views/VideoView.vue b/resources/js/views/VideoView.vue
index 6cc89057..e2f0f914 100755
--- a/resources/js/views/VideoView.vue
+++ b/resources/js/views/VideoView.vue
@@ -21,7 +21,7 @@ const route = useRoute();
const loading = ref(true);
const { getFolder, getCategory, getRecords, playlistFind, playlistSort } = ContentStore;
-const { searchQuery, stateFilteredPlaylist, stateDirectory, stateVideo, stateFolder } = storeToRefs(ContentStore) as {
+const { searchQuery, stateFilteredPlaylist, stateDirectory, stateVideo, stateFolder } = storeToRefs(ContentStore) as unknown as {
searchQuery: Ref<string>;
stateFilteredPlaylist: Ref<VideoResource[]>;
stateDirectory: Ref<CategoryResource>;