fix: disabled tooltip from tasks listview

This commit is contained in:
Shariq Ansari 2024-02-19 14:18:43 +05:30
parent 464a6d5098
commit 75eae61492
2 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,7 @@
:options="{
onRowClick: (row) => emit('showTask', row.name),
selectable: options.selectable,
showTooltip: options.showTooltip,
}"
row-key="name"
>
@ -47,12 +48,13 @@
/>
</div>
</template>
<div
<Tooltip
:text="item.label"
v-if="['modified', 'creation'].includes(column.key)"
class="truncate text-base"
>
{{ item.timeAgo }}
</div>
</Tooltip>
<div v-else-if="column.type === 'Check'">
<FormControl
type="checkbox"
@ -138,6 +140,7 @@ const props = defineProps({
type: Object,
default: () => ({
selectable: true,
showTooltip: true,
totalCount: 0,
rowCount: 0,
}),

View File

@ -21,6 +21,7 @@
:rows="rows"
:columns="tasks.data.columns"
:options="{
showTooltip: false,
rowCount: tasks.data.row_count,
totalCount: tasks.data.total_count,
}"