diff --git a/apps/red-ui/src/app/components/rule-set-actions/rule-set-actions.component.ts b/apps/red-ui/src/app/components/rule-set-actions/rule-set-actions.component.ts index f286aeb13..849d3cc12 100644 --- a/apps/red-ui/src/app/components/rule-set-actions/rule-set-actions.component.ts +++ b/apps/red-ui/src/app/components/rule-set-actions/rule-set-actions.component.ts @@ -16,7 +16,8 @@ export class RuleSetActionsComponent implements OnInit { ngOnInit(): void {} - openAddEditRuleSetDialog(ruleSet?: RuleSetModel) { + openEditRuleSetDialog($event: any, ruleSet: RuleSetModel) { + $event.stopPropagation(); this._dialogService.openAddEditRuleSetDialog(ruleSet, async (newRuleSet) => { if (newRuleSet) { this.loadRuleSetsData.emit(); @@ -24,11 +25,6 @@ export class RuleSetActionsComponent implements OnInit { }); } - openEditRuleSetDialog($event: any, ruleSet: RuleSetModel) { - $event.stopPropagation(); - this.openAddEditRuleSetDialog(ruleSet); - } - openDeleteRuleSetDialog($event: any, ruleSet: RuleSetModel) { this._dialogService.openDeleteRuleSetDialog($event, ruleSet, async () => { this.loadRuleSetsData.emit(); diff --git a/apps/red-ui/src/app/dialogs/add-edit-project-dialog/add-edit-project-dialog.component.html b/apps/red-ui/src/app/dialogs/add-edit-project-dialog/add-edit-project-dialog.component.html index 966f47acc..d92c4f67a 100644 --- a/apps/red-ui/src/app/dialogs/add-edit-project-dialog/add-edit-project-dialog.component.html +++ b/apps/red-ui/src/app/dialogs/add-edit-project-dialog/add-edit-project-dialog.component.html @@ -19,9 +19,9 @@