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 089a0d9 commit 87f3fb6Copy full SHA for 87f3fb6
src/settings/panel.tsx
@@ -309,6 +309,10 @@ export class AiProviderSettings extends React.Component<
309
this._settings.changed.connect(this._settingsChanged);
310
}
311
312
+ componentDidMount(): void {
313
+ this.componentDidUpdate();
314
+ }
315
+
316
async componentDidUpdate(): Promise<void> {
317
if (!this._secretsManager || !this._useSecretsManager) {
318
return;
@@ -398,6 +402,7 @@ export class AiProviderSettings extends React.Component<
398
402
sanitizedSettings[field] = SECRETS_REPLACEMENT;
399
403
});
400
404
405
401
406
this.props.aiSettings.saveSettingsToRegistry(this._role, {
407
provider: this._provider,
408
...sanitizedSettings
0 commit comments