feat: NewTeam script setup (#2388)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2388 Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:

committed by
konrad

parent
ff5d1fc8c1
commit
e91b5fde02
@ -18,7 +18,7 @@ export default class TeamModel extends AbstractModel<ITeam> implements ITeam {
|
||||
created: Date = null
|
||||
updated: Date = null
|
||||
|
||||
constructor(data: Partial<ITeam>) {
|
||||
constructor(data: Partial<ITeam> = {}) {
|
||||
super()
|
||||
this.assignData(data)
|
||||
|
||||
|
Reference in New Issue
Block a user