fix: not select file should not show delete btn

This commit is contained in:
Methapon Metanipat 2024-08-28 17:55:48 +07:00
parent 7a56f205ec
commit 4518d5fb96

View file

@ -267,7 +267,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
{{ currentFileSelected }} {{ currentFileSelected }}
<CloseButton <CloseButton
icon-only icon-only
v-if="!readonly" v-if="!readonly && !!currentFileSelected"
type="button" type="button"
class="q-ml-sm" class="q-ml-sm"
@click=" @click="