backport of UI: prevent replication disable action from sending payload (#24295)

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-11-29 18:09:50 -05:00
committed by GitHub
parent 4e676c55a1
commit 02edc12981
3 changed files with 12 additions and 2 deletions

View File

@@ -4,4 +4,11 @@ import layout from '../templates/components/replication-action-disable';
export default Actions.extend({
layout,
tagName: '',
actions: {
onSubmit(replicationMode, clusterMode, evt) {
// No data is submitted for disable request
return this.onSubmit(replicationMode, clusterMode, null, evt);
},
},
});