@@ -130,9 +129,11 @@ export class AuthorizationExtensionFormComponent implements OnChanges {
.get()
.pipe(takeUntil(this.destroy$))
.subscribe((inArg: Message) => {
- if (inArg.type === 'extensionsChange') {
- this.initExtensions();
- }
+ if (inArg.type !== 'extensionsChange') return;
+ const extension = inArg.data.extension;
+ if (!extension?.features?.authAPI) return;
+ this.initExtensions();
+ this.updateSchema(this.authType);
});
}
diff --git a/src/browser/src/app/pages/workspace/project/api/http/mock/api-mock.component.html b/src/browser/src/app/pages/workspace/project/api/http/mock/api-mock.component.html
index 8e894adcf..9cc1ead82 100644
--- a/src/browser/src/app/pages/workspace/project/api/http/mock/api-mock.component.html
+++ b/src/browser/src/app/pages/workspace/project/api/http/mock/api-mock.component.html
@@ -1,6 +1,6 @@