Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Aug 29, 2023
1 parent 05c7ad5 commit 8824a0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,9 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr

_suggestions: any;

onModelChange: Function = () => { };
onModelChange: Function = () => {};

onModelTouched: Function = () => { };
onModelTouched: Function = () => {};

timeout: Nullable<any>;

Expand Down Expand Up @@ -1286,4 +1286,4 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr
exports: [AutoComplete, OverlayModule, SharedModule, ScrollerModule, AutoFocusModule],
declarations: [AutoComplete]
})
export class AutoCompleteModule { }
export class AutoCompleteModule {}
2 changes: 1 addition & 1 deletion src/app/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ export class Menu implements OnDestroy {

isItemHidden(item: any): boolean {
if (item.separator) {
return item.visible === false || (item.items && item.items.some(subitem => subitem.visible !== false));
return item.visible === false || (item.items && item.items.some((subitem) => subitem.visible !== false));
}
return item.visible === false;
}
Expand Down

1 comment on commit 8824a0d

@vercel
Copy link

@vercel vercel bot commented on 8824a0d Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.