diff --git a/ui/app/components/variable-form.js b/ui/app/components/variable-form.js index c7bfcb49d..ac63df84e 100644 --- a/ui/app/components/variable-form.js +++ b/ui/app/components/variable-form.js @@ -200,7 +200,7 @@ export default class VariableFormComponent extends Component { await this.args.model.save({ adapterOptions: { overwrite } }); this.flashMessages.add({ - title: 'Secure Variable saved', + title: 'Variable saved', message: `${this.path} successfully saved`, type: 'success', destroyOnClick: false, @@ -302,15 +302,13 @@ export default class VariableFormComponent extends Component { throw new Error('Invalid JSON'); } - // "myString" is valid JSON, but it's not a valid Secure Variable. - // Ditto for an array of objects. We expect a single object to be a Secure Variable. + // "myString" is valid JSON, but it's not a valid Variable. + // Ditto for an array of objects. We expect a single object to be a Variable. const hasFormatErrors = JSON.parse(value) instanceof Array || typeof JSON.parse(value) !== 'object'; if (hasFormatErrors) { - throw new Error( - 'A Secure Variable must be formatted as a single JSON object' - ); + throw new Error('A Variable must be formatted as a single JSON object'); } set(this, 'JSONError', null); diff --git a/ui/app/components/variable-form/related-entities.hbs b/ui/app/components/variable-form/related-entities.hbs index c6f32669b..76c5c86b6 100644 --- a/ui/app/components/variable-form/related-entities.hbs +++ b/ui/app/components/variable-form/related-entities.hbs @@ -1,7 +1,7 @@