implement play next and add to Queue

This commit is contained in:
geoffrey45
2022-05-10 08:24:08 +03:00
parent d49cc65903
commit bee37742c3
5 changed files with 37 additions and 8 deletions
+2 -2
View File
@@ -43,11 +43,11 @@ import { ContextSrc } from "../../composables/enums";
import useContextStore from "../../stores/context";
import useModalStore from "../../stores/modal";
import useQueueStore from "../../stores/queue";
import { paths } from "../../config";
const contextStore = useContextStore();
const modalStore = useModalStore();
const imguri = paths.images.thumb
const props = defineProps<{
@@ -62,7 +62,7 @@ const showContextMenu = (e: Event) => {
e.preventDefault();
e.stopPropagation();
const menus = trackContext(props.track, modalStore);
const menus = trackContext(props.track, useModalStore, useQueueStore);
contextStore.showContextMenu(e, menus, ContextSrc.Track);
context_on.value = true;