From fd21790048bc06c91b6509eee654e8db78196919 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 12 Oct 2021 15:01:00 +0200 Subject: [PATCH] Update selectors render function --- src/selector_manager/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/selector_manager/index.js b/src/selector_manager/index.js index f5bf26054..193fb0524 100644 --- a/src/selector_manager/index.js +++ b/src/selector_manager/index.js @@ -329,8 +329,9 @@ export default () => { render(selectors) { const { em, selectorTags } = this; const config = this.getConfig(); - selectorTags && selectorTags.remove(); + const el = selectorTags && selectorTags.el; this.selectorTags = new ClassTagsView({ + el, collection: new Selectors(selectors || [], { em, config }), config });