|
@@ -2566,7 +2566,11 @@
|
|
|
(when-not (and built-in? (empty? result))
|
|
(when-not (and built-in? (empty? result))
|
|
|
(ui/foldable
|
|
(ui/foldable
|
|
|
[:div.custom-query-title
|
|
[:div.custom-query-title
|
|
|
- [:span.title-text title]
|
|
|
|
|
|
|
+ [:span.title-text (if (vector? title)
|
|
|
|
|
+ title
|
|
|
|
|
+ (inline-text config
|
|
|
|
|
+ (get-in config [:block :block/format] :markdown)
|
|
|
|
|
+ (str title)))]
|
|
|
[:span.opacity-60.text-sm.ml-2.results-count
|
|
[:span.opacity-60.text-sm.ml-2.results-count
|
|
|
(str (count transformed-query-result) " results")]]
|
|
(str (count transformed-query-result) " results")]]
|
|
|
(fn []
|
|
(fn []
|