fix: disabled tooltip from call logs listview
This commit is contained in:
parent
75eae61492
commit
966ab3ef8d
@ -8,6 +8,7 @@
|
|||||||
params: { callLogId: row.name },
|
params: { callLogId: row.name },
|
||||||
}),
|
}),
|
||||||
selectable: options.selectable,
|
selectable: options.selectable,
|
||||||
|
showTooltip: options.showTooltip,
|
||||||
}"
|
}"
|
||||||
row-key="name"
|
row-key="name"
|
||||||
>
|
>
|
||||||
@ -35,12 +36,13 @@
|
|||||||
<FeatherIcon :name="item.icon" class="h-3 w-3" />
|
<FeatherIcon :name="item.icon" class="h-3 w-3" />
|
||||||
</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.key === 'status'" class="truncate text-base">
|
<div v-else-if="column.key === 'status'" class="truncate text-base">
|
||||||
<Badge
|
<Badge
|
||||||
:variant="'subtle'"
|
:variant="'subtle'"
|
||||||
@ -82,6 +84,7 @@ import {
|
|||||||
ListSelectBanner,
|
ListSelectBanner,
|
||||||
ListRowItem,
|
ListRowItem,
|
||||||
ListFooter,
|
ListFooter,
|
||||||
|
Tooltip,
|
||||||
} from 'frappe-ui'
|
} from 'frappe-ui'
|
||||||
import { watch } from 'vue'
|
import { watch } from 'vue'
|
||||||
|
|
||||||
@ -98,6 +101,7 @@ const props = defineProps({
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({
|
default: () => ({
|
||||||
selectable: true,
|
selectable: true,
|
||||||
|
showTooltip: true,
|
||||||
totalCount: 0,
|
totalCount: 0,
|
||||||
rowCount: 0,
|
rowCount: 0,
|
||||||
}),
|
}),
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="callLogs.data.columns"
|
:columns="callLogs.data.columns"
|
||||||
:options="{
|
:options="{
|
||||||
|
showTooltip: false,
|
||||||
rowCount: callLogs.data.row_count,
|
rowCount: callLogs.data.row_count,
|
||||||
totalCount: callLogs.data.total_count,
|
totalCount: callLogs.data.total_count,
|
||||||
}"
|
}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user