Ingatlanok és tulajdonosaik adatainak megtekintése jogosultsághoz kötött.
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
This commit is contained in:
@@ -124,10 +124,9 @@ class AppDrawer extends StatelessWidget {
|
||||
}),
|
||||
Obx(() {
|
||||
final signedIn = AuthService.to.isSignedIn;
|
||||
// final projectId = ProjectService.to.activeProject.value?.uuid;
|
||||
// final allowed = !Get.isRegistered<PermissionService>() ||
|
||||
// PermissionService.to.canContacts(projectId: projectId);
|
||||
final allowed = true;
|
||||
final projectId = ProjectService.to.activeProject.value?.uuid;
|
||||
final allowed = !Get.isRegistered<PermissionService>() ||
|
||||
PermissionService.to.canContacts(projectId: projectId);
|
||||
if (!signedIn || !allowed) return const SizedBox.shrink();
|
||||
return ListTile(
|
||||
leading: const Icon(Icons.house_outlined),
|
||||
|
||||
Reference in New Issue
Block a user