fix: work component & work dialog

This commit is contained in:
puriphatt 2024-06-25 11:04:34 +00:00
parent 6222db1973
commit bdcda30890
3 changed files with 12 additions and 11 deletions

View file

@ -81,8 +81,7 @@ defineEmits<{
<div
for="select-work-name"
class="col rounded q-py-sm q-px-md"
:class="{ bordered: !readonly }"
:style="`background-color:${readonly ? 'var(--surface-2)' : 'var(--surface-1); z-index: 2'}`"
style="background-color: var(--surface-1); z-index: 2"
@click="() => (readonly ? '' : fetchListOfWork())"
>
<span class="text-body2" style="color: var(--foreground)">