Remove invoice action from superadmin Businesses list
Invoices belong on the business dashboard, not the superadmin list row.
This commit is contained in:
@@ -1723,15 +1723,6 @@ export function BusinessesPage() {
|
||||
onChange={(isActive) => void handleToggleActive(b, isActive)}
|
||||
/>
|
||||
</span>
|
||||
<button
|
||||
type="button"
|
||||
className={styles.controlBtn}
|
||||
onClick={() => navigate(`/businesses/${b.id}/invoices`)}
|
||||
title="Invoices"
|
||||
aria-label="View invoices"
|
||||
>
|
||||
<FileText size={16} />
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className={styles.controlBtn}
|
||||
|
||||
Reference in New Issue
Block a user