mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: simple query title issue
This commit is contained in:
@@ -2559,11 +2559,12 @@
|
||||
(when-not (and built-in? (empty? result))
|
||||
(ui/foldable
|
||||
[:div.custom-query-title
|
||||
[:span.title-text (if (vector? title)
|
||||
title
|
||||
(inline-text config
|
||||
(get-in config [:block :block/format] :markdown)
|
||||
(str title)))]
|
||||
[:span.title-text (cond
|
||||
(vector? title) title
|
||||
(string? title) (inline-text config
|
||||
(get-in config [:block :block/format] :markdown)
|
||||
title)
|
||||
:else title)]
|
||||
[:span.opacity-60.text-sm.ml-2.results-count
|
||||
(str (count transformed-query-result) " results")]]
|
||||
(fn []
|
||||
|
||||
Reference in New Issue
Block a user