Skip to content

Commit

Permalink
fix(components): input prop of top navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
nontangent committed Sep 10, 2022
1 parent 88051f8 commit 1f70d70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</div>
<div>
<atoms-smart-menu-button
[actionItems]="actionItems"
(actionItemClick)="actionItemClick.emit($event)"
[items]="items"
(action)="action.emit($event)"
></atoms-smart-menu-button>
</div>
</mat-toolbar>
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export class TopNavigatorOrganism {
title?: string;

@Input()
actionItems: ActionItem[] = [];
items: ActionItem[] = [];

@Output()
actionItemClick = new EventEmitter<ActionItem>();
action = new EventEmitter<ActionItem>();

id = (item: {id: string}) => item.id;

Expand Down

0 comments on commit 1f70d70

Please sign in to comment.