chore: update system setting name convention (#1448)

This commit is contained in:
boojack
2023-04-03 09:36:34 +08:00
committed by GitHub
parent 8a33290722
commit 4f2adfef7b
10 changed files with 135 additions and 105 deletions

View File

@ -23,7 +23,7 @@ const UpdateLocalStorageDialog: React.FC<Props> = (props: Props) => {
const handleConfirmBtnClick = async () => {
try {
await api.upsertSystemSetting({
name: "localStoragePath",
name: "local-storage-path",
value: JSON.stringify(path),
});
await globalStore.fetchSystemStatus();