We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a374b commit d499071Copy full SHA for d499071
1 file changed
core/http/views/image.html
@@ -18,7 +18,7 @@
18
<div class="flex items-center justify-between gap-2">
19
<label class="text-xs font-medium text-[var(--color-text-secondary)] uppercase tracking-wide flex-shrink-0">Model</label>
20
</div>
21
- <select x-data="{ link : '' }" x-model="link" x-init="$watch('link', value => window.location = link)"
+ <select x-data="{ link : '{{if .Model}}image/{{.Model}}{{end}}' }" x-model="link" x-init="$watch('link', value => window.location = link)"
22
id="model-select"
23
class="input w-full p-1.5 text-xs"
24
>
0 commit comments