diff --git a/src/tags/tag-history.tag b/src/tags/tag-history.tag index 0947b80..2082751 100644 --- a/src/tags/tag-history.tag +++ b/src/tags/tag-history.tag @@ -68,14 +68,12 @@ along with this program. If not, see . for (const index in elements) { const parsedNestedElements = JSON.parse(elements[index].v1Compatibility || {}); - let guiElements = []; - let guiElement = {}; + const guiElements = []; for (const attribute in parsedNestedElements) { if (parsedNestedElements.hasOwnProperty(attribute)) { const value = parsedNestedElements[attribute]; - - guiElement = { + const guiElement = { "key": attribute, "value": modifySpecificAttributeTypes(attribute, value) };