mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
fix: gated button add your first contact
(cherry picked from commit 90fd9bc4cc5b8270c44a8c8d1cbc864f38eb6e97)
This commit is contained in:
parent
54b8652852
commit
c5f2544ff9
@ -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