Commit 77dfbe6a authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Fix enable panel for config panel

parent e2bc4459
...@@ -5,11 +5,9 @@ import API from '../utils/API' ...@@ -5,11 +5,9 @@ import API from '../utils/API'
const mapStateToProps = (state) => ({ const mapStateToProps = (state) => ({
serverError: state.serverError, serverError: state.serverError,
expanded: !!(state.serverConfig && state.serverConfig.discovered) && !state.token expanded: !(state.serverConfig && state.serverConfig.discovered) && !state.token
}) })
const mapDispatchToProps = { const mapDispatchToProps = {
discoveryStart: API.discovery, discoveryStart: API.discovery,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment