fix: remove selectable from contact/organizations lead/deal/contact listview
This commit is contained in:
parent
2f6b55e7bd
commit
289bc4df22
@ -4,6 +4,7 @@
|
|||||||
:rows="rows"
|
:rows="rows"
|
||||||
:options="{
|
:options="{
|
||||||
getRowRoute: (row) => ({ name: 'Contact', params: { contactId: row.name } }),
|
getRowRoute: (row) => ({ name: 'Contact', params: { contactId: row.name } }),
|
||||||
|
selectable: options.selectable,
|
||||||
}"
|
}"
|
||||||
row-key="name"
|
row-key="name"
|
||||||
>
|
>
|
||||||
@ -70,5 +71,11 @@ const props = defineProps({
|
|||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
options: {
|
||||||
|
type: Object,
|
||||||
|
default: () => ({
|
||||||
|
selectable: true,
|
||||||
|
}),
|
||||||
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -181,12 +181,14 @@
|
|||||||
v-if="tab.label === 'Leads' && rows.length"
|
v-if="tab.label === 'Leads' && rows.length"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:options="{ selectable: false }"
|
||||||
/>
|
/>
|
||||||
<DealsListView
|
<DealsListView
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
v-else-if="tab.label === 'Deals' && rows.length"
|
v-else-if="tab.label === 'Deals' && rows.length"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:options="{ selectable: false }"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
v-if="!rows.length"
|
v-if="!rows.length"
|
||||||
|
|||||||
@ -137,18 +137,21 @@
|
|||||||
v-if="tab.label === 'Leads' && rows.length"
|
v-if="tab.label === 'Leads' && rows.length"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:options="{ selectable: false }"
|
||||||
/>
|
/>
|
||||||
<DealsListView
|
<DealsListView
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
v-if="tab.label === 'Deals' && rows.length"
|
v-if="tab.label === 'Deals' && rows.length"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:options="{ selectable: false }"
|
||||||
/>
|
/>
|
||||||
<ContactsListView
|
<ContactsListView
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
v-if="tab.label === 'Contacts' && rows.length"
|
v-if="tab.label === 'Contacts' && rows.length"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
:options="{ selectable: false }"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
v-if="!rows.length"
|
v-if="!rows.length"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user