mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +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');
|
return callback('Redux panel not found');
|
||||||
}
|
}
|
||||||
if (EUI.inspectorView) {
|
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 idList = tabs.map((tab) => tab.id);
|
||||||
const reduxPanelId =
|
const reduxPanelId =
|
||||||
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
||||||
if (idList.indexOf(reduxPanelId) !== -1) {
|
if (idList.indexOf(reduxPanelId) !== -1) {
|
||||||
EUI.inspectorView.showPanel(reduxPanelId);
|
instance.showPanel(reduxPanelId);
|
||||||
return callback(reduxPanelId);
|
return callback(reduxPanelId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user