fix: editing a label works now
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2021-10-13 20:12:37 +02:00
parent e6a935f49d
commit 69821fb663
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ export default {
// object passed to this function here still has a reference to the store.
this.labelEditLabel = new LabelModel({
...label,
// The model does not support passing dates into it directly so we need to convert them first
created: +label.created,
updated: +label.updated,
})
this.isLabelEdit = true