fix: leads/deals listview layout fix
This commit is contained in:
parent
112e92e3d3
commit
76e76bdec1
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ListView
|
<ListView
|
||||||
|
:class="$attrs.class"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:options="{
|
:options="{
|
||||||
@ -64,6 +65,7 @@
|
|||||||
<ListSelectBanner />
|
<ListSelectBanner />
|
||||||
</ListView>
|
</ListView>
|
||||||
<ListFooter
|
<ListFooter
|
||||||
|
v-if="pageLengthCount"
|
||||||
class="border-t px-5 py-2"
|
class="border-t px-5 py-2"
|
||||||
v-model="pageLengthCount"
|
v-model="pageLengthCount"
|
||||||
:options="{
|
:options="{
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ListView
|
<ListView
|
||||||
|
:class="$attrs.class"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:options="{
|
:options="{
|
||||||
@ -87,6 +88,7 @@
|
|||||||
<ListSelectBanner />
|
<ListSelectBanner />
|
||||||
</ListView>
|
</ListView>
|
||||||
<ListFooter
|
<ListFooter
|
||||||
|
v-if="pageLengthCount"
|
||||||
class="border-t px-5 py-2"
|
class="border-t px-5 py-2"
|
||||||
v-model="pageLengthCount"
|
v-model="pageLengthCount"
|
||||||
:options="{
|
:options="{
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ListView
|
<ListView
|
||||||
|
:class="$attrs.class"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:options="{
|
:options="{
|
||||||
@ -96,6 +97,7 @@
|
|||||||
<ListSelectBanner />
|
<ListSelectBanner />
|
||||||
</ListView>
|
</ListView>
|
||||||
<ListFooter
|
<ListFooter
|
||||||
|
v-if="pageLengthCount"
|
||||||
class="border-t px-5 py-2"
|
class="border-t px-5 py-2"
|
||||||
v-model="pageLengthCount"
|
v-model="pageLengthCount"
|
||||||
:options="{
|
:options="{
|
||||||
|
|||||||
@ -171,8 +171,8 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #default="{ tab }">
|
<template #default="{ tab }">
|
||||||
<DealsListView
|
<DealsListView
|
||||||
class="mt-4"
|
|
||||||
v-if="tab.label === 'Deals' && rows.length"
|
v-if="tab.label === 'Deals' && rows.length"
|
||||||
|
class="mt-4"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:options="{ selectable: false }"
|
:options="{ selectable: false }"
|
||||||
|
|||||||
@ -189,7 +189,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
<template #default="{ tab }">
|
<template #default="{ tab }">
|
||||||
<div class="flex h-full">
|
|
||||||
<LeadsListView
|
<LeadsListView
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
v-if="tab.label === 'Leads' && rows.length"
|
v-if="tab.label === 'Leads' && rows.length"
|
||||||
@ -220,7 +219,6 @@
|
|||||||
<div>No {{ tab.label }} Found</div>
|
<div>No {{ tab.label }} Found</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user