mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed onSave method in AdminX DS
refs. https://github.com/TryGhost/Team/issues/3150
This commit is contained in:
parent
0fb35cf236
commit
9d84bc257b
1 changed files with 1 additions and 3 deletions
|
@ -30,9 +30,7 @@ const SettingGroup: React.FC<SettingGroupProps> = ({title, description, state, c
|
|||
};
|
||||
|
||||
const handleSave = () => {
|
||||
if (onSave) {
|
||||
onSave();
|
||||
}
|
||||
onSave?.();
|
||||
if (onStateChange) {
|
||||
onStateChange('view');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue