Skip to content

Commit

Permalink
components: only display a ? if there is a query string
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Dec 6, 2023
1 parent d440e0c commit 2b362f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/CurlExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="line">
curl --silent \
<br />
<a :href="url" target="_blank">"${DOMAIN}{{ path }}<span class="hl">?{{ query }}</span>"</a> \
<a :href="url" target="_blank">"${DOMAIN}{{ path }}<span v-if="query" class="hl">?{{ query }}</span>"</a> \
<br />
| jq .
</div>
Expand Down

0 comments on commit 2b362f2

Please sign in to comment.