We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e8a94 commit c2934fbCopy full SHA for c2934fb
site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage/EditOAuth2AppPage.tsx
@@ -90,6 +90,9 @@ const EditOAuth2AppPage: FC = () => {
90
try {
91
await deleteSecretMutation.mutateAsync({ appId, secretId });
92
displaySuccess("Successfully deleted an OAuth2 client secret");
93
+ if (fullNewSecret?.id === secretId) {
94
+ setFullNewSecret(undefined);
95
+ }
96
} catch (ignore) {
97
displayError("Failed to delete OAuth2 client secret");
98
}
0 commit comments