From e84733a79c87d6295dc5683d76da4f0aff064489 Mon Sep 17 00:00:00 2001 From: cheetah Date: Sun, 18 Dec 2022 16:11:57 +0100 Subject: [PATCH] hiding temp ids in delivery configs --- html_config/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html_config/index.html b/html_config/index.html index bade251..7e16a9f 100644 --- a/html_config/index.html +++ b/html_config/index.html @@ -402,6 +402,11 @@ storeConfig() { const storeConfig = JSON.parse(JSON.stringify(this.configData)) const oldBK = storeConfig.boskrypt.keys + Object.keys(storeConfig.deliveryPresets) + .map(_key => { + delete storeConfig.deliveryPresets[_key]._id + }) + storeConfig.boskrypt.keys = Object.values(oldBK).reduce((total, keyData) => { total[ keyData.identifier ] = keyData.value return total