Skip to content

Commit

Permalink
fix: showHeader back to list template
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Mar 29, 2019
1 parent 33c9342 commit ea4ba17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/data/src/lib/asset-list/asset-list.component.html
@@ -1,5 +1,5 @@
<div class="ec-list">
<ec-list-header [list]="list" [selection]="selection"></ec-list-header>
<ec-list-header [list]="list" [selection]="selection" *ngIf="showHeader()"></ec-list-header>
<div class="ec-list-body">
<div class="ec-list-group" *ngFor="let group of list?.groups">
<div class="ec-list-group-header" *ngIf="group.value">
Expand Down
Expand Up @@ -41,7 +41,7 @@
<div *ngIf="filterFormConfig">
<ec-form [config]="filterFormConfig" [value]="list?.config?.filter" [empty]="true" #filterForm
(ready)="initFilterForm($event)" [lazy]="true"></ec-form>
<div class="ec-list-header" *ngIf="!list?.config?.disableHeader">
<div class="ec-list-header">
<div class="ec-list-cell ec-list-item__selector" *ngIf="list?.config?.selectMode&&!list?.isEmpty()">
<input type="checkbox" (click)="selection?.toggleAll(list?.page)" [checked]="selection?.hasAll(list?.page)"
[disabled]="selection?.config?.solo">
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/lib/list/list.component.html.ts
@@ -1,5 +1,5 @@
export const listTemplate = `<div class="ec-list">
<ec-list-header [list]="list" [selection]="selection"></ec-list-header>
<ec-list-header [list]="list" [selection]="selection" *ngIf="showHeader()"></ec-list-header>
<div class="ec-list-body">
<div class="ec-list-group" *ngFor="let group of list?.groups">
<div class="ec-list-group-header" *ngIf="group.value" (click)="selection?.toggleAll(listItems?.items)">
Expand Down

0 comments on commit ea4ba17

Please sign in to comment.