fix: disabled tooltip from deals listview
This commit is contained in:
parent
b6f86390a3
commit
dd9080a69a
@ -6,6 +6,7 @@
|
||||
:options="{
|
||||
getRowRoute: (row) => ({ name: 'Deal', params: { dealId: row.name } }),
|
||||
selectable: options.selectable,
|
||||
showTooltip: options.showTooltip,
|
||||
}"
|
||||
row-key="name"
|
||||
>
|
||||
@ -48,7 +49,8 @@
|
||||
<PhoneIcon class="h-4 w-4" />
|
||||
</div>
|
||||
</template>
|
||||
<div
|
||||
<Tooltip
|
||||
:text="item.label"
|
||||
v-if="
|
||||
[
|
||||
'modified',
|
||||
@ -61,7 +63,7 @@
|
||||
class="truncate text-base"
|
||||
>
|
||||
{{ item.timeAgo }}
|
||||
</div>
|
||||
</Tooltip>
|
||||
<div
|
||||
v-else-if="column.key === 'sla_status'"
|
||||
class="truncate text-base"
|
||||
@ -135,6 +137,7 @@ import {
|
||||
ListFooter,
|
||||
Dropdown,
|
||||
call,
|
||||
Tooltip,
|
||||
} from 'frappe-ui'
|
||||
import { setupBulkActions, createToast } from '@/utils'
|
||||
import { globalStore } from '@/stores/global'
|
||||
@ -154,6 +157,7 @@ const props = defineProps({
|
||||
type: Object,
|
||||
default: () => ({
|
||||
selectable: true,
|
||||
showTooltip: true,
|
||||
totalCount: 0,
|
||||
rowCount: 0,
|
||||
}),
|
||||
|
||||
@ -175,7 +175,7 @@
|
||||
class="mt-4"
|
||||
:rows="rows"
|
||||
:columns="columns"
|
||||
:options="{ selectable: false }"
|
||||
:options="{ selectable: false, showTooltip: false }"
|
||||
/>
|
||||
<div
|
||||
v-if="!rows.length"
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
:rows="rows"
|
||||
:columns="deals.data.columns"
|
||||
:options="{
|
||||
showTooltip: false,
|
||||
rowCount: deals.data.row_count,
|
||||
totalCount: deals.data.total_count,
|
||||
}"
|
||||
|
||||
@ -184,7 +184,7 @@
|
||||
v-if="tab.label === 'Deals' && rows.length"
|
||||
:rows="rows"
|
||||
:columns="columns"
|
||||
:options="{ selectable: false }"
|
||||
:options="{ selectable: false, showTooltip: false }"
|
||||
/>
|
||||
<ContactsListView
|
||||
class="mt-4"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user