fix: last-modified-at not being set for files

Also fixed a bug with the all-files view where the current time was
being displayed instead of a file's last modified time. Also updated
db graph's schema for files
This commit is contained in:
Gabriel Horner
2023-10-17 16:06:35 -04:00
parent 4b3fe85070
commit c7c438b85a
6 changed files with 14 additions and 15 deletions

View File

@@ -54,7 +54,7 @@
file])]
(when-not mobile?
[:td [:span.text-gray-500.text-sm
(if (zero? modified-at)
(if (or (nil? modified-at) (zero? modified-at))
(t :file/no-data)
(date/get-date-time-string
(t/to-default-time-zone (tc/to-date-time modified-at))))]])