fix: q-file visibility
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-07-16 15:25:47 +07:00
parent 7d4b38369c
commit 9b56896695
2 changed files with 3 additions and 2 deletions

View file

@ -262,7 +262,7 @@ function deleteFile(name: string) {
</div>
<q-file
v-if="userType"
v-if="userType && !readonly"
ref="attachmentRef"
for="input-attachment"
:dense="dense"

View file

@ -184,13 +184,14 @@ function deleteAttachment(name: string) {
</q-input>
<q-file
v-if="!readonly"
ref="attachmentRef"
for="input-attachment"
dense
outlined
:readonly="readonly"
multiple
append
:readonly
:label="$t('personnel.form.attachment')"
class="col"
v-model="attachment"