fix: "invalid date" error when trying to set a date and none was set before
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2022-02-27 16:39:21 +01:00
parent a23b4a96ee
commit b144802203
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ export default {
this.updateData()
},
get() {
if(!this.date) {
return ''
}
return format(this.date, 'yyy-LL-dd H:mm')
},
},