Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/primefaces/primeng
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 22, 2023
2 parents ee534ea + 841281a commit dfcc8a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3450,7 +3450,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 changes: 1 addition & 1 deletion src/app/showcase/doc/toolbar/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class TemplateDoc implements OnInit {
</p-toolbar>`,

html: `
<ng-template class="card">
<div class="card">
<p-toolbar>
<ng-template pTemplate="start">
<p-button label="New" icon="pi pi-plus" class="mr-2"></p-button>
Expand Down

1 comment on commit dfcc8a6

@vercel
Copy link

@vercel vercel bot commented on dfcc8a6 Nov 22, 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.