diff --git a/frontend/src/components/dnf/Equipment/Icon/index.vue b/frontend/src/components/dnf/Equipment/Icon/index.vue index d55ea713..30c45d8c 100644 --- a/frontend/src/components/dnf/Equipment/Icon/index.vue +++ b/frontend/src/components/dnf/Equipment/Icon/index.vue @@ -2,7 +2,7 @@ @@ -39,11 +39,11 @@ const rarity = computed(()=>{ } }) -const getLocalImageURL = (url:string)=>{ - return new URL(url, import.meta.url).href +const getLocalImageURL = (rarity:string)=>{ + return new URL(`./rarity/${rarity}.png`, import.meta.url).href } - +``