enhance(ux): sort local graphs by create/update time

This commit is contained in:
charlie
2024-06-03 15:04:57 +08:00
parent bce5a308bb
commit c4abc29c1c
2 changed files with 39 additions and 12 deletions

View File

@@ -264,4 +264,9 @@
ret (update ret repo merge m {:_v (js/Date.now)})]
(storage/set k ret))
(catch js/Error e
(js/console.warn e)))))
(js/console.warn e)))))
(defn get-metadata-local
[]
(let [k :ls-graphs-metadata]
(storage/get k)))