mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
refactor: rename :block/original-name to :block/title
This commit is contained in:
@@ -293,6 +293,6 @@
|
||||
(ui/button (t :export-save-to-file)
|
||||
:on-click #(let [file-name (if (uuid? root-block-uuids-or-page-uuid)
|
||||
(-> (db/get-page root-block-uuids-or-page-uuid)
|
||||
(util/get-page-original-name))
|
||||
(util/get-page-title))
|
||||
(t/now))]
|
||||
(utils/saveToFile (js/Blob. [@*content]) (str "logseq_" file-name) (if (= tp :text) "txt" (name tp)))))])]]))
|
||||
|
||||
Reference in New Issue
Block a user