Skip to content

Commit

Permalink
backport of UI: Remove logic that skips sending object if not changed (
Browse files Browse the repository at this point in the history
…#21758)

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
  • Loading branch information
1 parent 29cc2b2 commit 6392634
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 @@ -61,9 +61,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 6392634

Please sign in to comment.