Fixed: Don't clone indexer API Key

(cherry picked from commit d336aaf3f04136471970155b5a7cc876770c64ff)
pull/9657/head
Mark McDowall 10 months ago committed by Bogdan
parent bc9b2cd283
commit c003fe16de

@ -150,7 +150,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