Fix: Tag Interface Delete Button #104256
@ -82,8 +82,8 @@ export default {
|
|||||||
],
|
],
|
||||||
layout: "fitData",
|
layout: "fitData",
|
||||||
layoutColumnsOnNewData: true,
|
layoutColumnsOnNewData: true,
|
||||||
height: "525px", // Must be set in order for the virtual DOM to function correctly.
|
height: "525px",
|
||||||
selectable: true, // The active worker is tracked by click events, not row selection.
|
selectable: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.tabulator = new Tabulator("#tag-table-container", tag_options);
|
this.tabulator = new Tabulator("#tag-table-container", tag_options);
|
||||||
@ -124,7 +124,7 @@ export default {
|
|||||||
.createWorkerTag(newTag)
|
.createWorkerTag(newTag)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.fetchTags(); // Refresh table data
|
this.fetchTags(); // Refresh table data
|
||||||
//TODO: Clear the tab as well
|
this.newTagName = "";
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
const errorMsg = JSON.stringify(error);
|
const errorMsg = JSON.stringify(error);
|
||||||
|
Loading…
Reference in New Issue
Block a user