remove remaining traces of hard coded Routes enum

+ fix play from album card
This commit is contained in:
geoffrey45
2022-12-12 10:49:05 +03:00
committed by Mungai Njoroge
parent 7f344b51db
commit fd863d188c
8 changed files with 20 additions and 21 deletions
+2 -1
View File
@@ -44,8 +44,9 @@ import { paths } from "../../config";
import { Album } from "../../interfaces";
import PlayBtn from "./PlayBtn.vue";
import { playSources, Routes } from "@/composables/enums";
import { playSources } from "@/composables/enums";
import useAlbumStore from "@/stores/pages/album";
import { Routes } from "@/router/routes";
const imguri = paths.images.thumb.large;
defineProps<{
+1 -1
View File
@@ -34,7 +34,7 @@ import { Routes } from "@/router/routes";
const props = defineProps<{
artists: Artist[] | null;
albumartists: string | null;
albumartists: Artist[] | null;
small?: boolean;
smaller?: boolean;
}>();