Add notifications overview (#414)
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/414 Co-authored-by: konrad <konrad@kola-entertainments.de> Co-committed-by: konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
971d3cc358
commit
c076298cf0
11 changed files with 385 additions and 17 deletions
6
src/helpers/parseDateOrNull.js
Normal file
6
src/helpers/parseDateOrNull.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export const parseDateOrNull = date => {
|
||||
if (date && !date.startsWith('0001')) {
|
||||
return new Date(date)
|
||||
}
|
||||
return null
|
||||
}
|
||||
Reference in a new issue