refactor interfaces and references

This commit is contained in:
geoffrey45
2022-11-30 20:27:44 +03:00
committed by Mungai Njoroge
parent 4a49d48011
commit 6d8a9f880b
44 changed files with 195 additions and 171 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
}"
>
<div v-if="artists === null || artists.length === 0">
<span>{{ albumartist }}</span>
<span>{{ albumartists }}</span>
</div>
<div v-else>
<span v-for="artist in putCommas(artists)" :key="artist">{{
@@ -23,7 +23,7 @@ import { putCommas } from "@/utils";
const props = defineProps<{
artists: string[] | null;
albumartist: string | undefined;
albumartists: string | null;
small?: boolean;
smaller?: boolean;
}>();