Fix: Tag Interface Delete Button #104256
@ -178,11 +178,10 @@ export default {
|
|||||||
layout: "fitData",
|
layout: "fitData",
|
||||||
layoutColumnsOnNewData: true,
|
layoutColumnsOnNewData: true,
|
||||||
height: "82%",
|
height: "82%",
|
||||||
selectable: true,
|
selectable: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.tabulator = new Tabulator("#tag-table-container", tag_options);
|
this.tabulator = new Tabulator("#tag-table-container", tag_options);
|
||||||
this.tabulator.on("rowClick", this.onRowClick);
|
|
||||||
this.tabulator.on("tableBuilt", () => {
|
this.tabulator.on("tableBuilt", () => {
|
||||||
this.fetchTags();
|
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:
|
// SocketIO connection event handlers:
|
||||||
onSIOReconnected() {
|
onSIOReconnected() {
|
||||||
this.fetchTags();
|
this.fetchTags();
|
||||||
|
Loading…
Reference in New Issue
Block a user