mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-20 22:28:45 +00:00
Next version of fix dashboard dropdowns!
This commit is contained in:
@ -175,14 +175,6 @@ function AppHome({app}: Props): JSX.Element
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
const tileSizeLg = 3;
|
||||
|
||||
const handleDropdownOnChange = (value: string, index: number) =>
|
||||
{
|
||||
setTimeout(async () =>
|
||||
{
|
||||
widgets[index] = await qController.widget(app.widgets[index]);
|
||||
}, 1);
|
||||
};
|
||||
|
||||
const hasTablePermission = (tableName: string) =>
|
||||
{
|
||||
return tables.find(t => t.name === tableName && (t.readPermission || t.insertPermission || t.editPermission || t.deletePermission));
|
||||
|
Reference in New Issue
Block a user