mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Update
This commit is contained in:
parent
d0f460f3ef
commit
8570230bec
|
@ -53,12 +53,13 @@ describe('DevTools panel for Electron', function () {
|
|||
return callback('Redux panel not found');
|
||||
}
|
||||
if (EUI.inspectorView) {
|
||||
const tabs = EUI.inspectorView.tabbedPane.tabs;
|
||||
const instance = EUI.InspectorView.InspectorView.instance();
|
||||
const tabs = instance.tabbedPane.tabs;
|
||||
const idList = tabs.map((tab) => tab.id);
|
||||
const reduxPanelId =
|
||||
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
||||
if (idList.indexOf(reduxPanelId) !== -1) {
|
||||
EUI.inspectorView.showPanel(reduxPanelId);
|
||||
instance.showPanel(reduxPanelId);
|
||||
return callback(reduxPanelId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user