Skip to content

Commit

Permalink
fix(ui): New Request Shortcut Panel > icons don't load when running o…
Browse files Browse the repository at this point in the history
…n electron as the / path seems to be interpreted as root directory - doesn't happen with src="/favicon.png" - weird
  • Loading branch information
flawiddsouza committed Oct 22, 2024
1 parent 86df520 commit 8a8d2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/NewRequestShortcutPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="create-request">
<p>Create a new request</p>
<div class="icons">
<img :src="`/images/${constants.REQUESTS[key].type}-icon.png`" :alt="constants.REQUESTS[key].alt" :title="constants.REQUESTS[key].title" @click="createRequest(constants.REQUESTS[key].type)" v-for="key in Object.keys(constants.REQUESTS)">
<img :src="`images/${constants.REQUESTS[key].type}-icon.png`" :alt="constants.REQUESTS[key].alt" :title="constants.REQUESTS[key].title" @click="createRequest(constants.REQUESTS[key].type)" v-for="key in Object.keys(constants.REQUESTS)">
</div>
</div>
</div>
Expand Down

0 comments on commit 8a8d2d1

Please sign in to comment.