Skip to content
Permalink
Browse files
fix(list): hide title (#801)
  • Loading branch information
Vijeinath committed Aug 17, 2022
1 parent ac06f6b commit 19fcabaf3d4d4610eff307b0994c7c1219fa66c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
@@ -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')">
@@ -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

0 comments on commit 19fcaba

Please sign in to comment.