Skip to content

Commit

Permalink
backport of commit 5a4e95d
Browse files Browse the repository at this point in the history
  • Loading branch information
hashishaw authored Jul 11, 2023
1 parent 29a11fb commit feade62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog/21739.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed an issue where editing an SSH role would clear `default_critical_options` and `default_extension` if left unchanged.
```
3 changes: 0 additions & 3 deletions ui/app/serializers/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ export default JSONSerializer.extend({
if (attributes.options.readOnly) {
return;
}
if (attributes.type === 'object' && val && Object.keys(val).length > 0 && valHasNotChanged) {
return;
}
if (valIsBlank && valHasNotChanged) {
return;
}
Expand Down

0 comments on commit feade62

Please sign in to comment.