Commit 9de5b16c authored by Vladimir Kiryakov's avatar Vladimir Kiryakov
Browse files

connected/disconnected statuses text change

parent f2e81019
......@@ -54,10 +54,17 @@ const Step = styled.div`
const Status = ({className, gatewayConnected, deviceConnected}) => {
gatewayConnected = gatewayConnected || deviceConnected;
return (
<div className={classNames('text-muted', className)}>
<Step><label>Gateway connected</label><StepIndicator active={gatewayConnected || deviceConnected}/></Step>
<Step><label>Device connected</label>
<label>{gatewayConnected ? 'Gateway connected' : 'Gateway disconnected'}</label>
<StepIndicator active={gatewayConnected}/>
<label>{deviceConnected ? 'Device connected' : 'Device disconnected'}</label>
<Line active={deviceConnected}/>
<StepIndicator active={deviceConnected}/>
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