fix : di for Role
This commit is contained in:
@@ -89,7 +89,7 @@ class ModulesLogic extends GetxController {
|
||||
selectedIndex.value = index;
|
||||
await Future.delayed(Duration(milliseconds: 300));
|
||||
selectedIndex.value = null;
|
||||
saveModule(module);
|
||||
// saveModule(module);
|
||||
await navigateToModule(module);
|
||||
}
|
||||
|
||||
@@ -98,14 +98,14 @@ class ModulesLogic extends GetxController {
|
||||
|
||||
if (target.value?[0] != null) {
|
||||
isLoading.value = !isLoading.value;
|
||||
await target.value?[0];
|
||||
await target.value?[0]?.call();
|
||||
isLoading.value = !isLoading.value;
|
||||
}
|
||||
|
||||
await Get.toNamed(target.key, arguments: module);
|
||||
|
||||
if (target.value?[1] != null) {
|
||||
await target.value?[1];
|
||||
await target.value?[1]?.call();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user