feat: Updated library page to use new data store

This commit is contained in:
Aleksi Lassila
2023-08-29 21:05:45 +03:00
parent b5c39c656d
commit 81e3883485
22 changed files with 599 additions and 854 deletions

View File

@@ -1,4 +1,4 @@
import { library } from '$lib/stores/library.store';
import { jellyfinItemsStore } from '$lib/stores/data.store';
import { writable } from 'svelte/store';
import { modalStack } from '../../stores/modal.store';
import VideoPlayer from './VideoPlayer.svelte';
@@ -17,7 +17,7 @@ function createPlayerState() {
},
close: () => {
store.set({ visible: false, jellyfinId: '' });
library.refresh();
jellyfinItemsStore.refresh();
}
};
}