fix: layout nu have data

This commit is contained in:
Thanaphon Frappet 2024-12-25 17:32:43 +07:00
parent 4b7d27ddd7
commit 0741baf416

View file

@ -372,12 +372,6 @@ watch(() => state.search, getWorkerList);
:class="{ ['items-center']: workerList.length === 0 }"
class="row q-col-gutter-md"
>
<div
style="display: inline-block; margin-inline: auto"
v-if="workerList.length === 0"
>
<NoData :not-found="!!state.search" />
</div>
<div
:key="emp.id"
v-for="(emp, index) in newWorkerList.map((data) => ({