@@ -5,7 +5,7 @@ import {connect} from "react-redux";
5
5
import { createPath } from "../../../actions/explorerStateActions" ;
6
6
import * as PropTypes from 'prop-types' ;
7
7
import { addRemoteContainer , changeDistractionFreeMode , changeNumCols } from "../../../actions/explorerActions" ;
8
- import { loadTestPlugins } from "../../../actions/pluginActions" ;
8
+ import { getPlugins } from "../../../actions/pluginActions" ;
9
9
import ErrorBoundary from "../../../ErrorHandling/ErrorBoundary" ;
10
10
11
11
import singlePaneImg from '../../../assets/img/single-pane.png' ;
@@ -28,14 +28,14 @@ class RemoteExplorerLayout extends React.Component {
28
28
29
29
componentDidMount ( ) {
30
30
//Load one explorer layout
31
- const { numContainers, addRemoteContainer} = this . props ;
31
+ const { numContainers, addRemoteContainer, getPlugins } = this . props ;
32
32
33
33
if ( numContainers < 1 ) {
34
34
addRemoteContainer ( 0 )
35
35
}
36
36
37
37
// Load the test plugins
38
- loadTestPlugins ( ) ;
38
+ getPlugins ( ) ;
39
39
40
40
}
41
41
@@ -93,14 +93,14 @@ class RemoteExplorerLayout extends React.Component {
93
93
}
94
94
</ Row >
95
95
96
- < Row >
97
- < TabbedPanes
98
- numCols = { numCols }
99
- distractionFreeMode = { distractionFreeMode }
100
- activeRemoteContainerID = { activeRemoteContainerID }
101
- containers = { containers }
102
- />
103
- </ Row >
96
+ < Row >
97
+ < TabbedPanes
98
+ numCols = { numCols }
99
+ distractionFreeMode = { distractionFreeMode }
100
+ activeRemoteContainerID = { activeRemoteContainerID }
101
+ containers = { containers }
102
+ />
103
+ </ Row >
104
104
</ DndProvider >
105
105
</ ErrorBoundary >
106
106
) ;
@@ -124,7 +124,7 @@ RemoteExplorerLayout.propTypes = {
124
124
createPath : PropTypes . func . isRequired ,
125
125
changeNumCols : PropTypes . func . isRequired ,
126
126
distractionFreeMode : PropTypes . bool . isRequired ,
127
- loadTestPlugins : PropTypes . func . isRequired ,
127
+ getPlugins : PropTypes . func . isRequired ,
128
128
129
129
loadedTestPlugins : PropTypes . object . isRequired ,
130
130
loadedPlugins : PropTypes . object . isRequired ,
@@ -135,6 +135,7 @@ export default connect(mapStateToProps, {
135
135
createPath,
136
136
changeNumCols,
137
137
changeDistractionFreeMode,
138
- addRemoteContainer
138
+ addRemoteContainer,
139
+ getPlugins
139
140
} )
140
141
( RemoteExplorerLayout ) ;
0 commit comments