Skip to content

Commit

Permalink
Revert encryption value when Cancel button is pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
bvasilenko committed Apr 3, 2024
1 parent 8035cb5 commit a564cb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,8 @@ export class DatasetFormComponent implements Formconfiguration {
this.entityForm.setDisabled(all_encryption_fields[i], true, true);
}
}
} else {
encryption_fg.setValue(!encryption);
}
});
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ export class ZvolFormComponent implements Formconfiguration {
this.entityForm.setDisabled(all_encryption_fields[i], true, true);
}
}
} else {
encryption_fg.setValue(!encryption);
}
});
} else {
Expand Down

0 comments on commit a564cb3

Please sign in to comment.