Fix filter list icon btn for firefox

pull/40/head
HardiReady 2018-07-09 20:07:10 +02:00
parent 2d0dd0f000
commit 1812f20ac4
3 changed files with 7 additions and 4 deletions

View File

@ -4,10 +4,11 @@
{{button.label}} {{button.label}}
</mat-button-toggle> </mat-button-toggle>
</mat-button-toggle-group> </mat-button-toggle-group>
<button mat-icon-button class="add-btn"> <button mat-icon-button
<mat-icon svgIcon="{{addButton.svgIcon}}" class="add-btn"
matTooltip="{{addButton.tooltip}}" matTooltip="{{addButton.tooltip}}"
(click)="add()"> (click)="add()">
<mat-icon svgIcon="{{addButton.svgIcon}}">
</mat-icon> </mat-icon>
</button> </button>
</div> </div>

View File

@ -23,6 +23,7 @@ export class ListFilterComponent {
} }
add() { add() {
console.log("in child");
this.openAddFrom.emit(); this.openAddFrom.emit();
} }
} }

View File

@ -53,6 +53,7 @@ export class UserListComponent implements OnInit {
} }
openNewUserForm() { openNewUserForm() {
console.log("message!")
this.selectedUserId = null; this.selectedUserId = null;
this.router.navigate([{outlets: {'right': ['new']}}], {relativeTo: this.route}); this.router.navigate([{outlets: {'right': ['new']}}], {relativeTo: this.route});
} }