diff --git a/src/models/label.ts b/src/models/label.ts index d151260b..798c38dd 100644 --- a/src/models/label.ts +++ b/src/models/label.ts @@ -22,7 +22,7 @@ export default class LabelModel extends AbstractModel implements ILabel created: Date = null updated: Date = null - constructor(data: Partial) { + constructor(data: Partial = {}) { super() this.assignData(data) diff --git a/src/views/labels/ListLabels.vue b/src/views/labels/ListLabels.vue index d578d078..a588edae 100644 --- a/src/views/labels/ListLabels.vue +++ b/src/views/labels/ListLabels.vue @@ -109,90 +109,78 @@ -