diff --git a/changelog/21739.txt b/changelog/21739.txt new file mode 100644 index 000000000000..7b559d97cd4c --- /dev/null +++ b/changelog/21739.txt @@ -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. +``` diff --git a/ui/app/serializers/application.js b/ui/app/serializers/application.js index 1e1055a6d9ea..680b7f6fc723 100644 --- a/ui/app/serializers/application.js +++ b/ui/app/serializers/application.js @@ -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; }