This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/test by this push:
new c8881889 fix: admin.themes layout initial value
new cf7f601c Merge branch 'test' of github.com:apache/answer into test
c8881889 is described below
commit c8881889c85083bd386a1c2c542598ca3e97d6cc
Author: shuai <[email protected]>
AuthorDate: Mon Dec 22 17:29:17 2025 +0800
fix: admin.themes layout initial value
---
ui/src/pages/Admin/Themes/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/src/pages/Admin/Themes/index.tsx
b/ui/src/pages/Admin/Themes/index.tsx
index db2a13da..873dd7c9 100644
--- a/ui/src/pages/Admin/Themes/index.tsx
+++ b/ui/src/pages/Admin/Themes/index.tsx
@@ -182,6 +182,7 @@ const Index: FC = () => {
: DEFAULT_THEME_COLOR;
formMeta.primary_color.value = themeConfig?.primary_color;
formData.color_scheme.value = setting?.color_scheme || 'system';
+ formData.layout.value = setting?.layout || 'Full-width';
setFormData({ ...formMeta });
}
});