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 }}
<CloseButton
icon-only
v-if="!readonly"
v-if="!readonly && !!currentFileSelected"
type="button"
class="q-ml-sm"
@click="