enhance(ux): persist custom shortcuts for web platform

This commit is contained in:
charlie
2025-02-17 15:53:49 +08:00
parent 52acbd0ed2
commit 31e022f6e0
4 changed files with 20 additions and 16 deletions

View File

@@ -604,8 +604,9 @@ should be done through this fn in order to get global config and config defaults
"MMM do, yyyy"))
(common-config/get-date-formatter (get-config)))))
(defn shortcuts []
(:shortcuts (get-config)))
(defn custom-shortcuts []
(merge (storage/get :ls-shortcuts)
(:shortcuts (get-config))))
(defn get-commands
[]