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