Merge pull request #3586 from thabaum/patch-6

Refreshes Admin Settings Page When User Updates Logo.  Fixes #3582
This commit is contained in:
Shaun Walker 2024-01-02 08:19:37 -05:00 committed by GitHub
commit 884a9835c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;