From 69821fb6635d9eb54c450e6bd4885090cce31dbb Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 13 Oct 2021 20:12:37 +0200 Subject: [PATCH] fix: editing a label works now --- src/views/labels/ListLabels.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/labels/ListLabels.vue b/src/views/labels/ListLabels.vue index 22bb07f8..3842987f 100644 --- a/src/views/labels/ListLabels.vue +++ b/src/views/labels/ListLabels.vue @@ -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