mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
chore: DB version for browser support (#10016)
- impl storage - still not working: refreshing, init code
This commit is contained in:
@@ -1056,7 +1056,9 @@
|
||||
(plugin-handler/hook-plugin-app :today-journal-created {:title today-page}))]
|
||||
(when (db/page-empty? repo today-page)
|
||||
(if (config/db-based-graph? repo)
|
||||
(create-f)
|
||||
(let [page-exists (db/get-page today-page)]
|
||||
(when-not page-exists
|
||||
(create-f)))
|
||||
(p/let [file-name (date/journal-title->default title)
|
||||
file-rpath (str (config/get-journals-directory) "/" file-name "."
|
||||
(config/get-file-extension format))
|
||||
|
||||
Reference in New Issue
Block a user