Skip to content

Commit

Permalink
Merge pull request #3586 from thabaum/patch-6
Browse files Browse the repository at this point in the history
Refreshes Admin Settings Page When User Updates Logo.  Fixes #3582
  • Loading branch information
sbwalker authored Jan 2, 2024
2 parents b0a079d + 8ed11cd commit 884a983
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Oqtane.Client/Modules/Admin/Site/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,11 @@
if (logofileid != -1)
{
site.LogoFileId = logofileid;
if (logofileid != _logofileid)
{
_logofileid = logofileid;
refresh = true; // needs to be refreshed on client
}
}
int? faviconFieldId = _faviconfilemanager.GetFileId();
if (faviconFieldId == -1) faviconFieldId = null;
Expand Down

0 comments on commit 884a983

Please sign in to comment.