fix: disabled tooltip from tasks listview
This commit is contained in:
parent
464a6d5098
commit
75eae61492
@ -5,6 +5,7 @@
|
|||||||
:options="{
|
:options="{
|
||||||
onRowClick: (row) => emit('showTask', row.name),
|
onRowClick: (row) => emit('showTask', row.name),
|
||||||
selectable: options.selectable,
|
selectable: options.selectable,
|
||||||
|
showTooltip: options.showTooltip,
|
||||||
}"
|
}"
|
||||||
row-key="name"
|
row-key="name"
|
||||||
>
|
>
|
||||||
@ -47,12 +48,13 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div
|
<Tooltip
|
||||||
|
:text="item.label"
|
||||||
v-if="['modified', 'creation'].includes(column.key)"
|
v-if="['modified', 'creation'].includes(column.key)"
|
||||||
class="truncate text-base"
|
class="truncate text-base"
|
||||||
>
|
>
|
||||||
{{ item.timeAgo }}
|
{{ item.timeAgo }}
|
||||||
</div>
|
</Tooltip>
|
||||||
<div v-else-if="column.type === 'Check'">
|
<div v-else-if="column.type === 'Check'">
|
||||||
<FormControl
|
<FormControl
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@ -138,6 +140,7 @@ const props = defineProps({
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({
|
default: () => ({
|
||||||
selectable: true,
|
selectable: true,
|
||||||
|
showTooltip: true,
|
||||||
totalCount: 0,
|
totalCount: 0,
|
||||||
rowCount: 0,
|
rowCount: 0,
|
||||||
}),
|
}),
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="tasks.data.columns"
|
:columns="tasks.data.columns"
|
||||||
:options="{
|
:options="{
|
||||||
|
showTooltip: false,
|
||||||
rowCount: tasks.data.row_count,
|
rowCount: tasks.data.row_count,
|
||||||
totalCount: tasks.data.total_count,
|
totalCount: tasks.data.total_count,
|
||||||
}"
|
}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user