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.'}
|
||||
</p>
|
||||
{!hasActiveFilters && (
|
||||
<Button
|
||||
<GatedButton
|
||||
canAct={canEdit}
|
||||
gateReason="add or import contacts"
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={openAddForm}
|
||||
@ -578,7 +580,7 @@ export default function ContactsPage() {
|
||||
>
|
||||
<Plus className="size-3.5" />
|
||||
Add your first contact
|
||||
</Button>
|
||||
</GatedButton>
|
||||
)}
|
||||
</div>
|
||||
</TableCell>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user