diff --git a/modules/web/src/app/cluster/details/cluster/template.html b/modules/web/src/app/cluster/details/cluster/template.html
index 2d90353d66..e1accb1259 100644
--- a/modules/web/src/app/cluster/details/cluster/template.html
+++ b/modules/web/src/app/cluster/details/cluster/template.html
@@ -611,7 +611,7 @@
IPv6
@if (cluster.spec.opaIntegration?.enabled) {
-
+
OPA Constraints
@@ -624,7 +624,7 @@ IPv6
}
@if (cluster.spec.opaIntegration?.enabled) {
-
+
OPA Gatekeeper Config
diff --git a/modules/web/src/app/node-data/component.ts b/modules/web/src/app/node-data/component.ts
index 9bc180b5e4..a41e44d185 100644
--- a/modules/web/src/app/node-data/component.ts
+++ b/modules/web/src/app/node-data/component.ts
@@ -181,7 +181,19 @@ export class NodeDataComponent extends BaseFormValidator implements OnInit, OnDe
super();
}
- @ViewChild('quotaWidgetContainer', {read: ViewContainerRef}) set quotaWidgetContainer(ref: ViewContainerRef) {
+ @ViewChild('quotaWidgetContainerDialog', {read: ViewContainerRef}) set quotaWidgetContainerDialog(
+ ref: ViewContainerRef
+ ) {
+ this._initQuotaWidget(ref);
+ }
+
+ @ViewChild('quotaWidgetContainerNonDialog', {read: ViewContainerRef}) set quotaWidgetContainerNonDialog(
+ ref: ViewContainerRef
+ ) {
+ this._initQuotaWidget(ref);
+ }
+
+ private _initQuotaWidget(ref: ViewContainerRef): void {
if (ref && this.isEnterpriseEdition && !this.quotaWidgetComponentRef) {
this.quotaWidgetComponentRef = ref.createComponent(QuotaWidgetComponent).instance;
this.quotaWidgetComponentRef.projectId = this.projectId;
diff --git a/modules/web/src/app/node-data/template.html b/modules/web/src/app/node-data/template.html
index e113502ed3..189a574dce 100644
--- a/modules/web/src/app/node-data/template.html
+++ b/modules/web/src/app/node-data/template.html
@@ -59,7 +59,7 @@
@if (isEnterpriseEdition && isDialogView()) {
-
+
}
@@ -255,7 +255,7 @@
@if (displayQuotaInWizard && isEnterpriseEdition && !isDialogView()) {
-
+
}
diff --git a/modules/web/src/app/shared/components/tab-card/tab/component.ts b/modules/web/src/app/shared/components/tab-card/tab/component.ts
index ac11f3c397..c3cdb321dd 100644
--- a/modules/web/src/app/shared/components/tab-card/tab/component.ts
+++ b/modules/web/src/app/shared/components/tab-card/tab/component.ts
@@ -22,5 +22,5 @@ import {Component, Input, TemplateRef, ViewChild, ContentChild} from '@angular/c
export class TabComponent {
@Input() label: string;
@ViewChild(TemplateRef) template: TemplateRef;
- @ContentChild('tabLabel') labelTemplate: TemplateRef;
+ @ContentChild(TemplateRef) labelTemplate: TemplateRef;
}