Skip to content

Commit

Permalink
chore(primeng) fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Aug 29, 2024
1 parent 299d19c commit 6f2394a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core-web/.eslintrc.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts}"]
}
],
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/keyword-spacing": [
"error",
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ export class DotContentTypesPortletComponent implements OnInit, OnDestroy {
actions.push({
menuItem: {
label: this.dotMessageService.get('contenttypes.content.copy'),
command: async (item: DotCMSContentType) => {
await this.showCloneContentTypeDialog(item);
command: (item: DotCMSContentType) => {
this.showCloneContentTypeDialog(item);
}
}
});
Expand Down

0 comments on commit 6f2394a

Please sign in to comment.