0
0
Fork 0

perf: remove icons in header slot

This commit is contained in:
Javier Segarra 2024-07-12 13:13:37 +02:00
parent 68192e5074
commit 5518fa98e0
1 changed files with 1 additions and 26 deletions

View File

@ -524,32 +524,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
</template> </template>
<template #header="props"> <template #header="props">
<QTr :props="props" class="bg"> <QTr :props="props" class="bg">
<QTh> <QTh />
<QIcon
@click.stop="addRow()"
class="fill-icon-on-hover"
color="primary"
name="add_circle"
size="sm"
>
<QTooltip>
{{ t('Add fixed price') }}
</QTooltip>
</QIcon>
<!-- <QIcon
v-if="!(checked && rowsSelected.length > 0)"
v-else-if="tableRef?.rows?.length > 0"
@click.stop="removeFuturePrice()"
class="fill-icon-on-hover"
color="primary"
name="delete"
size="sm"
>
<QTooltip>
{{ t('Add fixed price') }}
</QTooltip>
</QIcon>-->
</QTh>
<QTh <QTh
v-for="col in props.cols" v-for="col in props.cols"
:key="col.name" :key="col.name"