mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
improve(marketplace): add indicator for sorter
This commit is contained in:
@@ -355,8 +355,8 @@
|
||||
(ui/dropdown-with-links
|
||||
(fn [{:keys [toggle-fn]}]
|
||||
(ui/button
|
||||
[:span (ui/icon "arrows-sort") ""]
|
||||
:class "sort-by"
|
||||
[:span (ui/icon "arrows-sort")]
|
||||
:class (str (when-not (contains? #{:enabled :downloads} sort-by) "picked ") "sort-by")
|
||||
:on-click toggle-fn
|
||||
:intent "link"))
|
||||
(let [aim-icon #(if (= sort-by %) "check" "circle")]
|
||||
|
||||
Reference in New Issue
Block a user