fix: no data
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
Thanaphon Saengchan 2025-09-18 17:34:23 +07:00
parent aa908f0c3d
commit 61dca12e5a

View file

@ -341,12 +341,13 @@ watch(() => state.search, getWorkerList);
>
<div
style="display: inline-block; margin-inline: auto"
v-if="workerList.length === 0"
v-if="workerList.length === 0 && state.search"
>
<NoData :not-found="!!state.search" />
</div>
<TableWorker
v-else
v-model:selected="workerSelected"
:rows="workerList"
:disabledWorkerId