forked from p15670423/monkey
Fixed typos in UI (renamed scanStatus to ScanStatus)
This commit is contained in:
parent
5b074158ec
commit
bfa524b3ea
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import '../../../styles/Collapse.scss'
|
||||
import ReactTable from "react-table";
|
||||
import {renderMachineFromSystemData, scanStatus} from "./Helpers";
|
||||
import {renderMachineFromSystemData, ScanStatus} from "./Helpers";
|
||||
|
||||
class T1005 extends React.Component {
|
||||
|
||||
|
@ -23,7 +23,7 @@ class T1005 extends React.Component {
|
|||
<div>
|
||||
<div>{this.props.data.message}</div>
|
||||
<br/>
|
||||
{this.props.data.status === scanStatus.USED ?
|
||||
{this.props.data.status === ScanStatus.USED ?
|
||||
<ReactTable
|
||||
columns={T1005.getDataColumns()}
|
||||
data={this.props.data.collected_data}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import '../../../styles/Collapse.scss'
|
||||
import ReactTable from "react-table";
|
||||
import { renderMachine, scanStatus } from "./Helpers"
|
||||
import { renderMachine, ScanStatus } from "./Helpers"
|
||||
|
||||
|
||||
class T1222 extends React.Component {
|
||||
|
@ -24,7 +24,7 @@ class T1222 extends React.Component {
|
|||
<div>
|
||||
<div>{this.props.data.message}</div>
|
||||
<br/>
|
||||
{this.props.data.status === scanStatus.USED ?
|
||||
{this.props.data.status === ScanStatus.USED ?
|
||||
<ReactTable
|
||||
columns={T1222.getCommandColumns()}
|
||||
data={this.props.data.commands}
|
||||
|
|
Loading…
Reference in New Issue