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 <div
style="display: inline-block; margin-inline: auto" style="display: inline-block; margin-inline: auto"
v-if="workerList.length === 0" v-if="workerList.length === 0 && state.search"
> >
<NoData :not-found="!!state.search" /> <NoData :not-found="!!state.search" />
</div> </div>
<TableWorker <TableWorker
v-else
v-model:selected="workerSelected" v-model:selected="workerSelected"
:rows="workerList" :rows="workerList"
:disabledWorkerId :disabledWorkerId