From 22800dde251dcf0cffec68867acf2d084fe6533b Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Sun, 5 Apr 2020 10:45:17 -0700 Subject: [PATCH] Add status message to server config save. --- Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml | 1 - .../Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml b/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml index c64fc6c1..6fa50ffc 100644 --- a/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml +++ b/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml @@ -1,5 +1,4 @@ @page -@using Remotely.Server.Areas.Identity.Pages.Account.Manage @model ServerConfigModel @{ ViewData["Title"] = "Server Config"; diff --git a/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml.cs b/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml.cs index cb0a57fb..99720a4c 100644 --- a/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml.cs +++ b/Server/Areas/Identity/Pages/Account/Manage/ServerConfig.cshtml.cs @@ -95,6 +95,8 @@ namespace Remotely.Server.Areas.Identity.Pages.Account.Manage await Task.Delay(10); } + StatusMessage = "Configuration saved."; + return RedirectToPage(); }