Fixed: Don't clone indexer API Key

(cherry picked from commit d336aaf3f04136471970155b5a7cc876770c64ff)
pull/4489/head v2.1.4.3941
Mark McDowall 10 months ago committed by Bogdan
parent 9b5cf9ac0a
commit 8db7f948b1

@ -148,7 +148,13 @@ export default {
delete selectedSchema.name;
selectedSchema.fields = selectedSchema.fields.map((field) => {
return { ...field };
const newField = { ...field };
if (newField.privacy === 'apiKey' || newField.privacy === 'password') {
newField.value = '';
}
return newField;
});
newState.selectedSchema = selectedSchema;

Loading…
Cancel
Save