Skip to content

Commit

Permalink
Change message type to switch to components route (emberjs#1493)
Browse files Browse the repository at this point in the history
@chancancode I have been unable to determine a way to programmatically open the devtools when clicking this context menu item, but this gets us one step closer by actually switching routes in inspector. Any ideas on how to open devtools to the Ember Inspector panel? I haven't been able to find anything about it.
  • Loading branch information
RobbieTheWagner authored and patricklx committed Sep 19, 2022
1 parent 7587205 commit 0c04d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeletons/web-extension/background-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
onclick: function() {
chrome.tabs.sendMessage(activeTabId, {
from: 'devtools',
type: 'view:contextMenu'
type: 'view:inspectComponent'
});
}
});
Expand Down

0 comments on commit 0c04d4e

Please sign in to comment.