From c335b76d8bace6a37a047d39e7e69dd73d522351 Mon Sep 17 00:00:00 2001 From: "torok.istvan" Date: Tue, 8 Sep 2026 23:41:33 +0200 Subject: [PATCH] =?UTF-8?q?Ingatlanok=20=C3=A9s=20tulajdonosaik=20adataina?= =?UTF-8?q?k=20megtekint=C3=A9se=20jogosults=C3=A1ghoz=20k=C3=B6t=C3=B6tt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/widgets/app_drawer.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/widgets/app_drawer.dart b/lib/widgets/app_drawer.dart index 3d39f2d..f368a94 100644 --- a/lib/widgets/app_drawer.dart +++ b/lib/widgets/app_drawer.dart @@ -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.to.canContacts(projectId: projectId); - final allowed = true; + final projectId = ProjectService.to.activeProject.value?.uuid; + final allowed = !Get.isRegistered() || + PermissionService.to.canContacts(projectId: projectId); if (!signedIn || !allowed) return const SizedBox.shrink(); return ListTile( leading: const Icon(Icons.house_outlined),