1
0
forked from test/crm

fix: remove create button from call logs list view

cannot open contacts & organization dialog from empty state button
This commit is contained in:
Shariq Ansari 2023-12-24 12:33:30 +05:30
parent ad505c414c
commit 2d79d82907
3 changed files with 2 additions and 5 deletions

View File

@ -24,9 +24,6 @@
> >
<PhoneIcon class="h-10 w-10" /> <PhoneIcon class="h-10 w-10" />
<span>No Logs Found</span> <span>No Logs Found</span>
<Button label="Create" @click="showNewDialog = true">
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
</Button>
</div> </div>
</div> </div>
</template> </template>

View File

@ -44,7 +44,7 @@
> >
<ContactsIcon class="h-10 w-10" /> <ContactsIcon class="h-10 w-10" />
<span>No Contacts Found</span> <span>No Contacts Found</span>
<Button label="Create" @click="showNewDialog = true"> <Button label="Create" @click="showContactModal = true">
<template #prefix><FeatherIcon name="plus" class="h-4" /></template> <template #prefix><FeatherIcon name="plus" class="h-4" /></template>
</Button> </Button>
</div> </div>

View File

@ -48,7 +48,7 @@
> >
<OrganizationsIcon class="h-10 w-10" /> <OrganizationsIcon class="h-10 w-10" />
<span>No Organizations Found</span> <span>No Organizations Found</span>
<Button label="Create" @click="showNewDialog = true"> <Button label="Create" @click="showOrganizationModal = true">
<template #prefix><FeatherIcon name="plus" class="h-4" /></template> <template #prefix><FeatherIcon name="plus" class="h-4" /></template>
</Button> </Button>
</div> </div>