From e91b5fde0216e15f739da22efbcaae3829e31ba1 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Wed, 21 Sep 2022 14:13:37 +0000 Subject: [PATCH] feat: NewTeam script setup (#2388) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2388 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/models/team.ts | 2 +- src/views/teams/NewTeam.vue | 72 ++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/models/team.ts b/src/models/team.ts index 1953a8f1..9d86ca8c 100644 --- a/src/models/team.ts +++ b/src/models/team.ts @@ -18,7 +18,7 @@ export default class TeamModel extends AbstractModel implements ITeam { created: Date = null updated: Date = null - constructor(data: Partial) { + constructor(data: Partial = {}) { super() this.assignData(data) diff --git a/src/views/teams/NewTeam.vue b/src/views/teams/NewTeam.vue index c6e9719f..0cb0c079 100644 --- a/src/views/teams/NewTeam.vue +++ b/src/views/teams/NewTeam.vue @@ -1,6 +1,6 @@ + +