mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 20:18:12 +00:00
Poprawki widoków modali/kart
This commit is contained in:
@@ -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}`;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user