feat: update storage setting section (#1140)

This commit is contained in:
boojack
2023-02-23 23:22:34 +08:00
committed by GitHub
parent 6d2d322140
commit 84fb8b2288
8 changed files with 98 additions and 155 deletions

View File

@ -191,11 +191,10 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
console.error(error);
toastHelper.error(error.response.data.message);
}
destroy();
if (confirmCallback) {
confirmCallback();
}
destroy();
};
const setPartialOAuth2Config = (state: Partial<IdentityProviderOAuth2Config>) => {