|
|
@@ -2790,12 +2790,12 @@
|
|
|
[:span.opacity-60.text-sm.ml-2.results-count
|
|
|
(str (count transformed-query-result) " results")]]
|
|
|
;;insert an "edit" button in the query view
|
|
|
- [:a.opacity-70.hover:opacity-100.svg-small.inline
|
|
|
- {:on-mouse-down (fn [e]
|
|
|
- (util/stop e)
|
|
|
- (editor-handler/edit-block! current-block :max (:block/uuid current-block)))}
|
|
|
- svg/edit]]
|
|
|
-
|
|
|
+ (when-not built-in?
|
|
|
+ [:a.opacity-70.hover:opacity-100.svg-small.inline
|
|
|
+ {:on-mouse-down (fn [e]
|
|
|
+ (util/stop e)
|
|
|
+ (editor-handler/edit-block! current-block :max (:block/uuid current-block)))}
|
|
|
+ svg/edit])]
|
|
|
(fn []
|
|
|
[:div
|
|
|
(when (and current-block (not view-f) (nil? table-view?))
|