fix: dev mode should still be able to nav to built-ins

devs work on all parts of a graph and should be able to easily nav
where they need to. Also remove unused built-in? option
This commit is contained in:
Gabriel Horner
2024-08-07 10:10:01 -04:00
parent 8faef71727
commit 337ae484f7
2 changed files with 7 additions and 13 deletions

View File

@@ -257,7 +257,7 @@
repo (state/get-current-repo)
current-page (when-let [id (page-util/get-current-page-id)]
(db/entity id))
opts {:limit 100}]
opts {:limit 100 :built-in? config/dev?}]
(swap! !results assoc-in [group :status] :loading)
(swap! !results assoc-in [:current-page :status] :loading)
(p/let [blocks (search/block-search repo @!input opts)