Webapp: make the Manager responsible for setting a default tag description

When creating a new tag, don't set the description in the JS code, but
leave that for the Manager API to do.
This commit is contained in:
Sybren A. Stüvel 2023-09-04 13:08:55 +02:00
parent c68a72ca49
commit 31a5a8dc23

View File

@ -127,9 +127,6 @@ export default {
const api = new WorkerMgtApi(getAPIClient()); const api = new WorkerMgtApi(getAPIClient());
const newTag = new WorkerTag(this.newTagName); const newTag = new WorkerTag(this.newTagName);
newTag.description = "Default Description...";
api api
.createWorkerTag(newTag) .createWorkerTag(newTag)
.then(() => { .then(() => {