fix(docker): clone config [EE-5115] (#8575)

pull/8582/head
Chaim Lev-Ari 2 years ago committed by GitHub
parent 96e5d44cc2
commit 6074d1fcb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ class CreateConfigController {
try {
let data = await this.ConfigService.config(this.$transition$.params().id);
this.formValues.Name = data.Name + '_copy';
this.formValues.Data = data.Data;
this.formValues.ConfigContent = data.Data;
let labels = _.keys(data.Labels);
for (let i = 0; i < labels.length; i++) {
let labelName = labels[i];

@ -21,7 +21,7 @@
placeholder="Define or paste the content of your config here"
yml="false"
on-change="(ctrl.editorUpdate)"
value="ctrl.formValues.Data"
value="ctrl.formValues.ConfigContent"
></web-editor-form>
</div>
</div>

Loading…
Cancel
Save