From 6bb39cb6c7fa08c609772cc6361fd72dbe045bd7 Mon Sep 17 00:00:00 2001 From: Tofandel Date: Tue, 27 Feb 2024 14:28:57 +0100 Subject: [PATCH] Fix nested block --- frontend/js/mixins/block.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/js/mixins/block.js b/frontend/js/mixins/block.js index c9055fb8a..c75d6f6af 100755 --- a/frontend/js/mixins/block.js +++ b/frontend/js/mixins/block.js @@ -23,10 +23,10 @@ export default { return this.name + '[' + id + ']' // output : nameOfBlock[UniqID][name] }, repeaterName: function (id) { - return this.nested_block_name + this.name.replace('[', '-').replace(']', '') + '|' + id // nameOfBlock-UniqID|name + return this.nested_block_name + this.nestedEditorName(id) }, nestedEditorName: function (id) { - return this.repeaterName(id) + return this.name.replace('[', '-').replace(']', '') + '|' + id // nameOfBlock-UniqID|name } } }