add experimental remove from queue action

+ show albumartist on TrackItem if artists == ""
+ add action to reset playlist page artists to prevent content flashes
+ remove use of defaultTrackItem
This commit is contained in:
geoffrey45
2022-08-15 10:25:34 +03:00
parent 1f374eeda1
commit e1c9cfa99b
17 changed files with 122 additions and 79 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ const queue = useQStore();
const router = useRouter();
const modal = useModalStore();
const context_store = useContextStore();
const app_dom = document.getElementById("app");
const app_dom = document.getElementById("app") as HTMLElement;
queue.readQueue();
handleShortcuts(useQStore);
@@ -59,7 +59,7 @@ app_dom.addEventListener("click", (e) => {
});
router.afterEach(() => {
document.getElementById("acontent")?.scrollTo(0, 0);
(document.getElementById("acontent") as HTMLElement).scrollTo(0, 0);
});
onStartTyping(() => {