Fix: Tag Interface Delete Button #104256
@ -178,11 +178,10 @@ export default {
|
||||
layout: "fitData",
|
||||
layoutColumnsOnNewData: true,
|
||||
height: "82%",
|
||||
selectable: true,
|
||||
selectable: false,
|
||||
};
|
||||
|
||||
this.tabulator = new Tabulator("#tag-table-container", tag_options);
|
||||
this.tabulator.on("rowClick", this.onRowClick);
|
||||
this.tabulator.on("tableBuilt", () => {
|
||||
this.fetchTags();
|
||||
});
|
||||
@ -263,17 +262,6 @@ export default {
|
||||
});
|
||||
},
|
||||
|
||||
onRowClick(event, row) {
|
||||
const tag = row.getData();
|
||||
const rowIndex = row.getIndex();
|
||||
|
||||
this.tabulator.deselectRow();
|
||||
this.tabulator.selectRow(rowIndex);
|
||||
|
||||
this.selectedTag = tag;
|
||||
this.activeRowIndex = rowIndex;
|
||||
},
|
||||
|
||||
// SocketIO connection event handlers:
|
||||
onSIOReconnected() {
|
||||
this.fetchTags();
|
||||
|
Loading…
Reference in New Issue
Block a user