Remove description
This commit is contained in:
parent
4077ce15e2
commit
8675a7bb0b
|
@ -31,7 +31,7 @@ class NodeService:
|
|||
# node is infected
|
||||
new_node = NodeService.monkey_to_net_node(monkey)
|
||||
for key in monkey:
|
||||
if key not in ["_id", "modifytime", "parent", "dead"]:
|
||||
if key not in ['_id', 'modifytime', 'parent', 'dead', 'description']:
|
||||
new_node[key] = monkey[key]
|
||||
|
||||
else:
|
||||
|
|
|
@ -40,15 +40,6 @@ class PreviewPaneComponent extends React.Component {
|
|||
);
|
||||
}
|
||||
|
||||
descriptionRow(asset) {
|
||||
return (
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<td>{asset.description}</td>
|
||||
</tr>
|
||||
);
|
||||
}
|
||||
|
||||
aliveRow(asset) {
|
||||
return (
|
||||
<tr>
|
||||
|
@ -124,7 +115,6 @@ class PreviewPaneComponent extends React.Component {
|
|||
<div>
|
||||
<table className="table table-condensed">
|
||||
<tbody>
|
||||
{this.descriptionRow(asset)}
|
||||
{this.aliveRow(asset)}
|
||||
{this.osRow(asset)}
|
||||
{this.ipsRow(asset)}
|
||||
|
|
Loading…
Reference in New Issue