Closed mauthi closed 3 years ago
This is a question.
For my customers table I have defined an additional row button:
{ "type": "row", "icon": "dollar-sign", "class": "is-row-button", "event": "load-invoices" }
The event method is the following:
loadInvoices(row) { this.$router.push({ name: 'billing.invoices.index', params: { id: row.id, filterType: 'customer', }, }); },
Now I have the problem, that the button should only be visible for users who have access to the billing.invoices.index route.
billing.invoices.index
My question: Is there a possibility to show the button only if user has right to view billing.invoices.index?
Thx in advance for your help.
Hi @mauthi ,
Look at the data-import table (json & builder)
Thx - works perfect.
This is a question.
Prerequisites
Description
For my customers table I have defined an additional row button:
The event method is the following:
Now I have the problem, that the button should only be visible for users who have access to the
billing.invoices.index
route.My question: Is there a possibility to show the button only if user has right to view
billing.invoices.index
?Thx in advance for your help.