Poprawki widoków modali/kart

This commit is contained in:
2022-08-12 15:55:08 +02:00
parent 83c091a572
commit 4b870245c5
23 changed files with 321 additions and 288 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import { defineComponent } from 'vue';
export default defineComponent({
methods: {
getIcon(name: string) {
return new URL(`./assets/${name}.svg`, import.meta.url).href;
getIconURL(name: string, ext = 'svg'): string {
return `/images/icon-${name}.${ext}`;
},
},
});