From cd4334000afb82bc3c32544343a5ccbf0d2dc089 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Thu, 7 May 2026 12:54:44 +0200 Subject: [PATCH] Klammerfehler? Ist das so korrekt? --- BeWo/MainControl.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeWo/MainControl.xaml.cs b/BeWo/MainControl.xaml.cs index 305b70604..62539f6d8 100644 --- a/BeWo/MainControl.xaml.cs +++ b/BeWo/MainControl.xaml.cs @@ -176,7 +176,7 @@ namespace BeWo } - if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll) && BeWoApp.AppSettings.ShowVorlagen && (BeWoApp.LoggedOnUser.HasRight(UserRightType.VorlagenViewAll) || BeWoApp.LoggedOnUser.HasRight(UserRightType.VorlagenViewOwnTeams)) + if (BeWoApp.LoggedOnUser != null && BeWoApp.LoggedOnUser.HasRight(UserRightType.DocumentsAllowViewAll) && BeWoApp.AppSettings.ShowVorlagen && (BeWoApp.LoggedOnUser.HasRight(UserRightType.VorlagenViewAll) || BeWoApp.LoggedOnUser.HasRight(UserRightType.VorlagenViewOwnTeams))) { this.button_Dokumente.Visibility = Visibility.Visible; }