fix: disabled tooltip from call logs listview

This commit is contained in:
Shariq Ansari 2024-02-19 14:20:06 +05:30
parent 75eae61492
commit 966ab3ef8d
2 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,7 @@
params: { callLogId: row.name },
}),
selectable: options.selectable,
showTooltip: options.showTooltip,
}"
row-key="name"
>
@ -35,12 +36,13 @@
<FeatherIcon :name="item.icon" class="h-3 w-3" />
</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.key === 'status'" class="truncate text-base">
<Badge
:variant="'subtle'"
@ -82,6 +84,7 @@ import {
ListSelectBanner,
ListRowItem,
ListFooter,
Tooltip,
} from 'frappe-ui'
import { watch } from 'vue'
@ -98,6 +101,7 @@ const props = defineProps({
type: Object,
default: () => ({
selectable: true,
showTooltip: true,
totalCount: 0,
rowCount: 0,
}),

View File

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