Skip to content

Commit

Permalink
增加部分设置项
Browse files Browse the repository at this point in the history
  • Loading branch information
slowlyo committed Sep 25, 2023
1 parent c6c2337 commit 6d2dabe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin-views/src/layouts/components/SettingPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ const SettingPanel = () => {
footer={(
<>
<Space>
<Badge dot count={cachedSettings != JSON.stringify(state.settings) ? 1 : 0} title={t('theme_setting.need_save')}>
<Badge dot
count={cachedSettings != JSON.stringify(state.settings) ? 1 : 0}
title={t('theme_setting.need_save')}>
<Button type="primary"
onClick={submit}
disabled={save.loading}>{t('theme_setting.save_btn')}</Button>
Expand Down

0 comments on commit 6d2dabe

Please sign in to comment.