Fix: Tag Interface Delete Button #104256

Manually merged
Sybren A. Stüvel merged 39 commits from Evelinealy/flamenco:tag-interface into main 2023-11-02 16:13:14 +01:00
Showing only changes of commit 7fc7f5ca0c - Show all commits

View File

@ -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);