diff --git a/app/src/components/RobotSettings/ResetRobotModal.js b/app/src/components/RobotSettings/ResetRobotModal.js index f4969f889a2..f6131597532 100644 --- a/app/src/components/RobotSettings/ResetRobotModal.js +++ b/app/src/components/RobotSettings/ResetRobotModal.js @@ -122,7 +122,6 @@ function makeMapStateToProps (): (state: State, ownProps: OP) => SP { const {robot} = ownProps const optionsRequest = getResetOptions(state, robot) const optionsResponse = optionsRequest.response - console.log('OPTIONS', {optionsResponse}) return { options: optionsResponse && optionsResponse.options, resetRequest: getResetRequest(state, robot), diff --git a/app/src/support.js b/app/src/support.js index 80146ec8167..61bfb823f5c 100644 --- a/app/src/support.js +++ b/app/src/support.js @@ -34,14 +34,17 @@ export const supportMiddleware: Middleware = (store) => (next) => (action) => { const robot = state.robot.connection.connectRequest.name const data = {user_id: userId, 'Robot Name': robot} log.debug('Updating intercom data', data) - intercom('update', data) + // TODO (ka 2018-8-28): intercom handler defaulting to noop + window.Intercom('update', data) } if (action.type === 'api:PIPETTES_SUCCESS') { const pipettes = action.payload.pipettes - const data = {user_id: userId, 'Pipettes': pipettes} + const pipettesList = [pipettes.left.model, pipettes.right.model] + const data = {user_id: userId, 'Pipettes': pipettesList} log.debug('Updating intercom data', data) - intercom('update', data) + // TODO (ka 2018-8-28): intercom handler defaulting to noop + window.Intercom('update', data) } return next(action)