Simplify arming steps
This commit is contained in:
@@ -7,7 +7,7 @@ import { Link, Route } from 'react-router-dom';
|
||||
import io from 'socket.io-client';
|
||||
|
||||
// Move to env var
|
||||
const SERVER_URL = "http://tools.protospace.ca:8080";
|
||||
const SERVER_URL = 'http://localhost:8080';
|
||||
|
||||
class App extends Component {
|
||||
constructor() {
|
||||
@@ -106,7 +106,6 @@ class App extends Component {
|
||||
<Loader>Loading</Loader>
|
||||
</Dimmer>
|
||||
}
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@@ -70,7 +70,7 @@ class Tool extends Component {
|
||||
disabled={!approved || !decodedStatus.canDisarm}
|
||||
onClick={() => requestInterlock({toolId: tool.id, action: 'disarm',})}
|
||||
>
|
||||
<Icon name='stop' /> Disarm
|
||||
<Icon name='stop' /> Disarm
|
||||
</Button>
|
||||
</div>
|
||||
{approved || <Label basic color='red' pointing>
|
||||
|
Reference in New Issue
Block a user