Skip to content

Commit

Permalink
fix(gd): Visibility of delete button on content types portlet in comm…
Browse files Browse the repository at this point in the history
…unity edition #29473 (#29502)

### Proposed Changes
* Change Icon to work with PrimeNG Icons

### Screenshots



https://github.com/user-attachments/assets/fca825c7-84a9-46b1-9cbe-b7f8822e43cd
  • Loading branch information
zJaaal authored Aug 8, 2024
1 parent 0000f43 commit a2027a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ describe('DotContentTypesPortletComponent', () => {
).toEqual([
{
label: 'Delete',
icon: 'delete'
icon: 'pi pi-trash'
}
]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class DotContentTypesPortletComponent implements OnInit, OnDestroy {
menuItem: {
label: this.dotMessageService.get('contenttypes.action.delete'),
command: (item) => this.removeConfirmation(item),
icon: 'delete'
icon: 'pi pi-trash'
},
shouldShow: (item) => !item.fixed && !item.defaultType
}
Expand Down

0 comments on commit a2027a3

Please sign in to comment.