From 92ea5da358f37de197ccbb44bd0ef271ca015e3e Mon Sep 17 00:00:00 2001 From: vnetonline Date: Wed, 23 Aug 2023 10:13:16 +1000 Subject: [PATCH] [FIX] Added the ability to clear the Message in control panel on open or close This fix is related to issue #3163 --- Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor index 2484526a..e43b2c9f 100644 --- a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor @@ -36,14 +36,14 @@ @if (_canViewAdminDashboard || UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, PageState.Page.PermissionList)) { -
@Localizer["ControlPanel"]
- +
@@ -647,4 +647,10 @@ await SettingService.UpdateUserSettingsAsync(settings, PageState.User.UserId); } + private void ClearMessage() + { + + Message = ""; + + } }