Skip to content

Commit

Permalink
Locked status fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrands committed Nov 10, 2020
1 parent 48a64e3 commit a137b09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MeetUpPlanner/Client/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@
{
if (AppStateStore.Tenant.IsLocked || (AppStateStore.ClientSettings.AppLocked && !KeywordCheck.IsAdmin))
{
KeywordCheck.IsUser = false;
AppStateStore.NotifyStateChanged();
notificationService.Notify(new NotificationMessage() { Severity = NotificationSeverity.Error, Summary = "Kein Zugang", Detail = "Der MeetUpPlanner ist zur Zeit gesperrt.", Duration = 4000 });
}
else
Expand Down

0 comments on commit a137b09

Please sign in to comment.