();
+
+ name = '';
+
+ private _visible = false;
+
+ get visible() {
+ return this._visible;
+ }
+
+ @Input()
+ set visible(value: boolean) {
+ this._visible = value;
+ this.clearFields();
+ }
+
+ constructor(private _changeDetectorRef: ChangeDetectorRef) {}
+
+ clearFields() {
+ this.name = '';
+ }
+
+ onVisibleChange(): void {
+ this.visibleChange.emit(this.visible);
+ }
+
+ add(): void {
+ if (!this.name) {
+ return;
+ }
+
+ this.addInput.emit(this.name);
+ this.visible = false;
+ this._changeDetectorRef.detectChanges();
+ }
+
+ cancel(): void {
+ this.visible = false;
+ this._changeDetectorRef.detectChanges();
+ }
+}
diff --git a/prdeploy-app/src/app/settings/environment-form/environment-form.component.html b/prdeploy-app/src/app/settings/environment-form/environment-form.component.html
index ce9db92..b2a04df 100644
--- a/prdeploy-app/src/app/settings/environment-form/environment-form.component.html
+++ b/prdeploy-app/src/app/settings/environment-form/environment-form.component.html
@@ -31,6 +31,30 @@ General
+
+ Exclude from rollback
+
+
+ @for (item of environment.excludeFromRollback; track item) {
+
+ }
@@ -47,11 +71,11 @@
Automation Test
-