Skip to content

Commit

Permalink
fix(list): hide title (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Aug 17, 2022
1 parent ac06f6b commit 19fcaba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -2,7 +2,7 @@
<app-progress-indicator *ngIf="loading"></app-progress-indicator>

<div *ngIf="!loading" class="form-content list-info">
<h3 *ngIf="beta">Create new list</h3>
<h3 *ngIf="beta && mode =='create'">Create new list</h3>
<!-- list label -->
<app-string-literal-input [placeholder]="'List label *'" [value]="labels"
(dataChanged)="handleData($event, 'labels')">
Expand Down
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 19fcaba

Please sign in to comment.