hide unset button if we are showing the fallback

This commit is contained in:
Girish Ramakrishnan
2025-09-11 15:44:05 +02:00
parent 60d3eba712
commit 808428e947
+1 -1
View File
@@ -151,7 +151,7 @@ function onError() {
</div>
<div v-else-if="!disabled" class="image-picker-actions">
<Button @click.stop="onEdit" tool small icon="fa fa-pencil-alt" :disabled="busy"/>
<Button @click.stop="onUnset" tool small icon="fa fa-trash" :loading="busy" :disabled="busy" v-if="unsetHandler"/>
<Button @click.stop="onUnset" tool small icon="fa fa-trash" :loading="busy" :disabled="busy" v-if="unsetHandler && internalSrc !== fallbackSrc"/>
</div>
</div>
</div>