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:
parent
c68a72ca49
commit
31a5a8dc23
@ -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(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user