Merge branch 'phatt' into development

This commit is contained in:
puri-ph4tt 2023-12-06 17:16:56 +07:00
commit 5a5a90e66d

View file

@ -93,7 +93,7 @@ function clearAdvSearchData() {
v-for="(item, index) in advSearchDataRow"
:key="index"
>
<div class="row items-center" style="width: 45px; height: 45px">
<div class="row content-center" style="width: 45px; height: 45px">
<q-btn
dense
color="teal-5"
@ -143,25 +143,16 @@ function clearAdvSearchData() {
</template>
</q-input>
</div>
<div>
<div class="row content-center" style="width: 45px; height: 45px">
<q-btn
dense
flat
icon="mdi-trash-can-outline"
v-if="advSearchDataRow.length > 1"
color="red"
@click="() => delAdvSearchData(index)"
id="delAdvSearchData"
>
<q-tooltip
class="bg-red"
anchor="top middle"
self="bottom middle"
:offset="[10, 10]"
v-if="advSearchDataRow.length === 1"
>
<strong>ไมสามารถลบได</strong>
</q-tooltip>
</q-btn>
/>
</div>
</div>