mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
wip: export refactor
1. Move fns to worker 2. Don't rely on :block/file, use db blocks to build page content
This commit is contained in:
@@ -57,13 +57,7 @@
|
||||
(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))))]])
|
||||
|
||||
(when-not mobile?
|
||||
[:td [:a.text-sm
|
||||
{:on-click (fn [_e]
|
||||
(export-handler/download-file! file))}
|
||||
[:span (t :download)]]])]))]])))
|
||||
(t/to-default-time-zone (tc/to-date-time modified-at))))]])]))]])))
|
||||
|
||||
(rum/defc files
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user