Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Apr 26, 2024
1 parent 527efea commit 0116f9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/app/components/api/filterservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class FilterService {
if (value === undefined || value === null) {
return false;
}

return value.getTime() < filter.getTime();
},

Expand All @@ -250,8 +250,8 @@ export class FilterService {
if (value === undefined || value === null) {
return false;
}
value.setHours(0,0,0,0);
value.setHours(0, 0, 0, 0);

return value.getTime() > filter.getTime();
}
};
Expand Down
4 changes: 1 addition & 3 deletions src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,9 +773,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr

inputValue = computed(() => {
const modelValue = this.modelValue();
const selectedOption = this.optionValueSelected
? (this.suggestions || []).find((item: any) => ObjectUtils.resolveFieldData(item, this.optionValue) === modelValue)
: modelValue;
const selectedOption = this.optionValueSelected ? (this.suggestions || []).find((item: any) => ObjectUtils.resolveFieldData(item, this.optionValue) === modelValue) : modelValue;

if (modelValue) {
if (typeof modelValue === 'object' || this.optionValueSelected) {
Expand Down
1 change: 0 additions & 1 deletion src/app/components/menubar/menubar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,6 @@ export class Menubar implements AfterContentInit, OnDestroy, OnInit {
const anchorElement = element && DomHandler.findSingle(element, 'a[data-pc-section="action"]');

anchorElement ? anchorElement.click() : element && element.click();

}

event.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/treeselect/treeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { SearchIcon } from 'primeng/icons/search';
import { TimesIcon } from 'primeng/icons/times';
import { Overlay, OverlayModule } from 'primeng/overlay';
import { RippleModule } from 'primeng/ripple';
import {Tree, TreeFilterEvent, TreeModule, TreeNodeSelectEvent, TreeNodeUnSelectEvent} from 'primeng/tree';
import { Tree, TreeFilterEvent, TreeModule, TreeNodeSelectEvent, TreeNodeUnSelectEvent } from 'primeng/tree';
import { ObjectUtils, UniqueComponentId } from 'primeng/utils';
import { Nullable } from 'primeng/ts-helpers';
import { AutoFocusModule } from 'primeng/autofocus';
Expand Down

0 comments on commit 0116f9b

Please sign in to comment.