Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(list): hide title (DEV-1207) #801

Merged
merged 1 commit into from Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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