Fix: Updating store settings would silently fail where the is validation issue

This commit is contained in:
nicolas.dorier
2025-09-08 14:30:07 +09:00
parent cfb9a7b16f
commit 0d4662512f

View File

@@ -158,6 +158,8 @@ public partial class UIStoresController
blob.CssUrl = null;
needUpdate = true;
}
if (!ModelState.IsValid)
return View(model);
if (CurrentStore.SetStoreBlob(blob))
{