mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 08:34:49 +08:00
Fix blank state for time filter [SCI-6590] (#3903)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
d54c7f1927
commit
155b437d6a
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@
|
|||
},
|
||||
methods: {
|
||||
formattedDate(date) {
|
||||
if (!date) return null
|
||||
return `${date.getHours().toString().padStart(2, '0')}:${date.getMinutes().toString().padStart(2, '0')}`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue