fix(12-02): invalidate library store cache on LibraryRemoved event
Track list, albums, artists, and genres views now refresh immediately after a library is removed instead of showing stale cached data.
This commit is contained in:
1 parent
30f4461e69
commit
b093fbb10a
1 file changed
+3
@@ -52,6 +52,9 @@ class LibraryStore {
|
||||
EventsOn(Events.LibraryScanComplete, () => {
|
||||
this.invalidate();
|
||||
});
|
||||
EventsOn(Events.LibraryRemoved, () => {
|
||||
this.invalidate();
|
||||
});
|
||||
|
||||
this.loadCoverSize();
|
||||
this.deferEagerFetch();
|
||||
|
||||
Reference in new issue
Block a user