From 757e8b2176fe5cc35b37e63b83ab332e191893e4 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 29 Aug 2024 20:07:48 +0200 Subject: [PATCH] chore: remove useless data-ref --- umap/static/umap/js/modules/tableeditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/js/modules/tableeditor.js b/umap/static/umap/js/modules/tableeditor.js index 630360f1..ca4b34cc 100644 --- a/umap/static/umap/js/modules/tableeditor.js +++ b/umap/static/umap/js/modules/tableeditor.js @@ -169,14 +169,14 @@ export default class TableEditor extends WithTemplate { const actions = [] if (!this.datalayer.isRemoteLayer()) { const addButton = loadTemplate(` - `) addButton.addEventListener('click', () => this.addProperty()) actions.push(addButton) const deleteButton = loadTemplate(` - `) deleteButton.addEventListener('click', () => this.deleteRows()) @@ -184,7 +184,7 @@ export default class TableEditor extends WithTemplate { } const filterButton = loadTemplate(` - `) filterButton.addEventListener('click', () => this.map.browser.open('filters'))