better func names to differentiate between 2 types of graphs

- local file based
- db based (sqlite for now)
This commit is contained in:
rcmerci
2023-06-14 13:03:08 +08:00
parent 41aea60d94
commit d38afc9b71
18 changed files with 40 additions and 40 deletions

View File

@@ -1504,7 +1504,7 @@
[id ^js files format uploading? drop-or-paste?]
(let [repo (state/get-current-repo)
block (state/get-edit-block)]
(when (config/local-db? repo)
(when (config/local-file-based-graph? repo)
(-> (save-assets! block repo (js->clj files))
;; FIXME: only the first asset is handled
(p/then