fix: disabled tooltip from organizations listview
This commit is contained in:
parent
175d711abc
commit
464a6d5098
@ -8,6 +8,7 @@
|
||||
params: { organizationId: row.name },
|
||||
}),
|
||||
selectable: options.selectable,
|
||||
showTooltip: options.showTooltip,
|
||||
}"
|
||||
row-key="name"
|
||||
>
|
||||
@ -32,12 +33,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"
|
||||
@ -51,7 +53,11 @@
|
||||
</ListRows>
|
||||
<ListSelectBanner>
|
||||
<template #actions="{ selections, unselectAll }">
|
||||
<Button variant="subtle" label="Edit" @click="editValues(selections, unselectAll)">
|
||||
<Button
|
||||
variant="subtle"
|
||||
label="Edit"
|
||||
@click="editValues(selections, unselectAll)"
|
||||
>
|
||||
<template #prefix>
|
||||
<EditIcon class="h-3 w-3" />
|
||||
</template>
|
||||
@ -88,6 +94,7 @@ import {
|
||||
ListSelectBanner,
|
||||
ListRowItem,
|
||||
ListFooter,
|
||||
Tooltip,
|
||||
} from 'frappe-ui'
|
||||
import { ref, watch } from 'vue'
|
||||
|
||||
@ -104,6 +111,7 @@ const props = defineProps({
|
||||
type: Object,
|
||||
default: () => ({
|
||||
selectable: true,
|
||||
showTooltip: true,
|
||||
totalCount: 0,
|
||||
rowCount: 0,
|
||||
}),
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
:rows="rows"
|
||||
:columns="organizations.data.columns"
|
||||
:options="{
|
||||
showTooltip: false,
|
||||
rowCount: organizations.data.row_count,
|
||||
totalCount: organizations.data.total_count,
|
||||
}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user