Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 22, 2023
1 parent 2d171c2 commit f816345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
if (visibleOptions && ObjectUtils.isNotEmpty(visibleOptions) && modelValue) {
this.selectedOptions = visibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
}
})
});
}

ngOnInit() {
Expand Down Expand Up @@ -1260,7 +1260,6 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
});
}


findSelectedOptionIndex() {
return this.hasSelectedOption() ? this.visibleOptions().findIndex((option) => this.isValidSelectedOption(option)) : -1;
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
}

ngAfterViewInit() {
if(isPlatformBrowser(this.platformId)) {
if (isPlatformBrowser(this.platformId)) {
if (this.isStateful() && this.resizableColumns) {
this.restoreColumnWidths();
}
Expand Down Expand Up @@ -3453,7 +3453,7 @@ export class SortIcon implements OnInit, OnDestroy {
let multiSortMeta = this.dt._multiSortMeta;
let index = -1;

if (multiSortMeta && this.dt.sortMode === 'multiple' && (this.dt.showInitialSortBadge && multiSortMeta.length > 1)) {
if (multiSortMeta && this.dt.sortMode === 'multiple' && this.dt.showInitialSortBadge && multiSortMeta.length > 1) {
for (let i = 0; i < multiSortMeta.length; i++) {
let meta = multiSortMeta[i];
if (meta.field === this.field || meta.field === this.field) {
Expand Down

2 comments on commit f816345

@vercel
Copy link

@vercel vercel bot commented on f816345 Nov 22, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on f816345 Nov 22, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

primeng – ./

primeng-git-prod-primetek.vercel.app
primeng.org
primeng-primetek.vercel.app

Please sign in to comment.