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(() {
|
Obx(() {
|
||||||
final signedIn = AuthService.to.isSignedIn;
|
final signedIn = AuthService.to.isSignedIn;
|
||||||
// final projectId = ProjectService.to.activeProject.value?.uuid;
|
final projectId = ProjectService.to.activeProject.value?.uuid;
|
||||||
// final allowed = !Get.isRegistered<PermissionService>() ||
|
final allowed = !Get.isRegistered<PermissionService>() ||
|
||||||
// PermissionService.to.canContacts(projectId: projectId);
|
PermissionService.to.canContacts(projectId: projectId);
|
||||||
final allowed = true;
|
|
||||||
if (!signedIn || !allowed) return const SizedBox.shrink();
|
if (!signedIn || !allowed) return const SizedBox.shrink();
|
||||||
return ListTile(
|
return ListTile(
|
||||||
leading: const Icon(Icons.house_outlined),
|
leading: const Icon(Icons.house_outlined),
|
||||||
|
|||||||
Reference in New Issue
Block a user