Fix blank state for time filter [SCI-6590] (#3903)

Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
aignatov-bio 2022-02-28 11:05:01 +01:00 committed by GitHub
parent d54c7f1927
commit 155b437d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,7 @@
},
methods: {
formattedDate(date) {
if (!date) return null
return `${date.getHours().toString().padStart(2, '0')}:${date.getMinutes().toString().padStart(2, '0')}`
}
}