mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Merge pull request #327 from eldon922/fix/add-contact-gated-button
fix: gated button add your first contact
This commit is contained in:
commit
041cdabe03
@ -570,7 +570,9 @@ export default function ContactsPage() {
|
|||||||
: 'No contacts yet.'}
|
: 'No contacts yet.'}
|
||||||
</p>
|
</p>
|
||||||
{!hasActiveFilters && (
|
{!hasActiveFilters && (
|
||||||
<Button
|
<GatedButton
|
||||||
|
canAct={canEdit}
|
||||||
|
gateReason="add or import contacts"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={openAddForm}
|
onClick={openAddForm}
|
||||||
@ -578,7 +580,7 @@ export default function ContactsPage() {
|
|||||||
>
|
>
|
||||||
<Plus className="size-3.5" />
|
<Plus className="size-3.5" />
|
||||||
Add your first contact
|
Add your first contact
|
||||||
</Button>
|
</GatedButton>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user