diff --git a/shells/chrome/manifest.json b/shells/chrome/manifest.json index 97a1a97..97aad78 100644 --- a/shells/chrome/manifest.json +++ b/shells/chrome/manifest.json @@ -2,8 +2,7 @@ "Fulcro is a development framework that uses React and CLJS. This extension adds ability to track Fulcro DB, transactions and network", "devtools_page":"devtools.html", "permissions":[ - "activeTab", - "tabs" + "activeTab" ], "host_permissions": [ "file:///*", @@ -37,4 +36,4 @@ "matches":[""], "run_at":"document_idle"}], "manifest_version":3, - "version":"4.0.4"} + "version":"4.0.5"} diff --git a/src/ui/fulcro/inspect/devtool_api_impl.cljs b/src/ui/fulcro/inspect/devtool_api_impl.cljs index 91e5e1b..6d93210 100644 --- a/src/ui/fulcro/inspect/devtool_api_impl.cljs +++ b/src/ui/fulcro/inspect/devtool_api_impl.cljs @@ -9,7 +9,8 @@ [fulcro.inspect.lib.history :as hist] [fulcro.inspect.ui.inspector :as inspector] [fulcro.inspect.ui.multi-inspector :as multi-inspector] - [fulcro.inspect.ui.network :as network])) + [fulcro.inspect.ui.network :as network] + [taoensso.timbre :as log])) (dres/defmutation app-started [{:fulcro/keys [app]} params] {::pc/sym `dapi/app-started} @@ -63,6 +64,8 @@ (dres/defmutation focus-target [{:fulcro/keys [app]} {::app/keys [id]}] {::pc/sym `dapi/focus-target} + (log/info "Asked to focus" id) (when id - (fp/transact! app [(multi-inspector/set-app {::inspector/id [:x id]})])) + (fp/transact! app [(multi-inspector/set-app {::inspector/id [:x id]})] + {:ref multi-inspector/multi-inspector-ident})) nil)