summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinnokentii <[email protected]>2023-03-31 17:40:04 +0300
committerinnokentii <[email protected]>2023-03-31 17:40:04 +0300
commit4b7a88e6b075886a1c2d3d27b8150db73b5726b3 (patch)
tree4c5f8a40030a5890f94cb64e1b97424bef11499c
parent373339fd564ea3be9f3526ac5ebbfe85d5774b75 (diff)
Fix console yaml webui
fix console yaml webui
-rw-r--r--ydb/core/cms/ui/yaml_config.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/ydb/core/cms/ui/yaml_config.js b/ydb/core/cms/ui/yaml_config.js
index 6a8d78163d0..9377021217c 100644
--- a/ydb/core/cms/ui/yaml_config.js
+++ b/ydb/core/cms/ui/yaml_config.js
@@ -276,7 +276,12 @@ class YamlConfigState {
}
removeAllVolatileConfigs() {
- var cmd = {};
+ var cmd = {
+ Request: {
+ cluster: this.cluster,
+ version: this.version,
+ },
+ };
$.post(this.removeVolatileUrl, JSON.stringify(cmd))
.done(this.onVolatileConfigChanged.bind(this))
@@ -286,6 +291,8 @@ class YamlConfigState {
removeVolatileConfig(id) {
var cmd = {
Request: {
+ cluster: this.cluster,
+ version: this.version,
ids: [id],
}
};