Pre-fill tables data so they all wont pop-up from thin air

This commit is contained in:
Andrew 2023-04-30 00:38:50 +07:00
parent a04eb703f5
commit 0c14da73df

View file

@ -32,6 +32,9 @@ class GroupACLController extends GetxController {
Future<void> refreshData() async { Future<void> refreshData() async {
await refreshTables(); await refreshTables();
for (final table in tables) {
_access[table.tableId] = TableAccess.none;
}
for (final table in tables) { for (final table in tables) {
await refreshTableAccess(table); await refreshTableAccess(table);