Minor changes in the UI

This commit is contained in:
VakarisZ 2019-07-09 09:49:29 +03:00
parent 3d0c564994
commit eb574c8fff
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import '../../../styles/Collapse.scss' import '../../../styles/Collapse.scss'
import ReactTable from "react-table"; import ReactTable from "react-table";
import { renderMachineFromSystemData } from "./Helpers" import { scanStatus } from "./Helpers"
class T1105 extends React.Component { class T1105 extends React.Component {
@ -25,7 +25,7 @@ class T1105 extends React.Component {
<div> <div>
<div>{this.props.data.message}</div> <div>{this.props.data.message}</div>
<br/> <br/>
{this.props.data.status !== 'UNSCANNED' ? {this.props.data.status !== scanStatus.UNSCANNED ?
<ReactTable <ReactTable
columns={T1105.getFilesColumns()} columns={T1105.getFilesColumns()}
data={this.props.data.files} data={this.props.data.files}