mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 21:51:50 +02:00
chore: remove useless data-ref
This commit is contained in:
parent
9894c6a669
commit
757e8b2176
1 changed files with 3 additions and 3 deletions
|
@ -169,14 +169,14 @@ export default class TableEditor extends WithTemplate {
|
|||
const actions = []
|
||||
if (!this.datalayer.isRemoteLayer()) {
|
||||
const addButton = loadTemplate(`
|
||||
<button class="flat" type="button" data-ref="add">
|
||||
<button class="flat" type="button">
|
||||
<i class="icon icon-16 icon-add"></i>${translate('Add a new property')}
|
||||
</button>`)
|
||||
addButton.addEventListener('click', () => this.addProperty())
|
||||
actions.push(addButton)
|
||||
|
||||
const deleteButton = loadTemplate(`
|
||||
<button class="flat" type="button" data-ref="delete">
|
||||
<button class="flat" type="button">
|
||||
<i class="icon icon-16 icon-delete"></i>${translate('Delete selected rows')}
|
||||
</button>`)
|
||||
deleteButton.addEventListener('click', () => this.deleteRows())
|
||||
|
@ -184,7 +184,7 @@ export default class TableEditor extends WithTemplate {
|
|||
}
|
||||
|
||||
const filterButton = loadTemplate(`
|
||||
<button class="flat" type="button" data-ref="filters">
|
||||
<button class="flat" type="button">
|
||||
<i class="icon icon-16 icon-filters"></i>${translate('Filter data')}
|
||||
</button>`)
|
||||
filterButton.addEventListener('click', () => this.map.browser.open('filters'))
|
||||
|
|
Loading…
Reference in a new issue