diff --git a/src/components/Project/Features/index.js b/src/components/Project/Features/index.js index 6315b012..bfbac92d 100644 --- a/src/components/Project/Features/index.js +++ b/src/components/Project/Features/index.js @@ -118,6 +118,9 @@ export default class Features extends React.Component { // Bind socketHandler to THIS so when we pass it to the socket // lib and refernece 'this' its still 'us' this.socketHandler = this.socketHandler.bind(this); + + // reset feature list when component construct + this.props.store.app.setFeatures({ showDeployed: this.state.showDeployed }) } handleChange = panel => (event, expanded) => {