Web Interface for Tags #104244

Merged
Sybren A. Stüvel merged 30 commits from Evelinealy/flamenco:tag-interface into main 2023-09-04 13:06:10 +02: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);