Skip to content

Commit

Permalink
GDB-10835 - fix undefined error in console by adding validation after…
Browse files Browse the repository at this point in the history
… getting rule (#1528)
  • Loading branch information
DesiBorisova authored Sep 5, 2024
1 parent 7e8e3c8 commit 59e4d89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/angular/aclmanagement/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ export class ACListModel {

setPrefixWarningFlag(scope, index) {
const rule = this.getRule(scope, index);
rule.checkCustomOrNegatedPrefix();
if (rule) {
rule.checkCustomOrNegatedPrefix();
}
}

/**
Expand Down

0 comments on commit 59e4d89

Please sign in to comment.