From 19fcabaf3d4d4610eff307b0994c7c1219fa66c6 Mon Sep 17 00:00:00 2001 From: Vijeinath Tissaveerasingham Date: Wed, 17 Aug 2022 16:00:22 +0200 Subject: [PATCH] fix(list): hide title (#801) --- .../project/list/list-info-form/list-info-form.component.html | 2 +- src/app/project/list/list-info-form/list-info-form.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/project/list/list-info-form/list-info-form.component.html b/src/app/project/list/list-info-form/list-info-form.component.html index 3ad43656c3..e3525da594 100644 --- a/src/app/project/list/list-info-form/list-info-form.component.html +++ b/src/app/project/list/list-info-form/list-info-form.component.html @@ -2,7 +2,7 @@
-

Create new list

+

Create new list

diff --git a/src/app/project/list/list-info-form/list-info-form.component.ts b/src/app/project/list/list-info-form/list-info-form.component.ts index 6615734ce1..18d385d1b9 100644 --- a/src/app/project/list/list-info-form/list-info-form.component.ts +++ b/src/app/project/list/list-info-form/list-info-form.component.ts @@ -71,6 +71,7 @@ export class ListInfoFormComponent implements OnInit { // get feature toggle information if url contains beta // in case of creating new if (this._route.parent) { + this.mode = 'create'; this.beta = (this._route.parent.snapshot.url[0].path === 'beta'); if (this.beta) { // get the shortcode of the current project @@ -82,6 +83,7 @@ export class ListInfoFormComponent implements OnInit { } // in case of edit if (this._route.firstChild) { + this.mode = 'update'; this.beta = (this._route.firstChild.snapshot.url[0].path === 'beta'); if (this.beta) { // get the shortcode of the current project