Skip to content

Commit

Permalink
Get minimap image url correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbernard committed Dec 12, 2023
1 parent 49e50b2 commit 57b4574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vacs-map-app/src/components/CropCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const navigate = (crop) => {
const getUrl = (crop) => {
const schemeFolder = colorblindFriendly.value ? 'colorblindFriendly/' : 'default/'
const url = `../assets/img/minimaps/${schemeFolder}${crop}_${selectedModel.value}.svg`
const url = `/src/assets/img/minimaps/${schemeFolder}${crop}_${selectedModel.value}.svg`
return new URL(url, import.meta.url).href
}
Expand Down

0 comments on commit 57b4574

Please sign in to comment.