Remove description

This commit is contained in:
Itay Mizeretz 2017-10-16 17:28:39 +03:00
parent 4077ce15e2
commit 8675a7bb0b
2 changed files with 1 additions and 11 deletions

View File

@ -31,7 +31,7 @@ class NodeService:
# node is infected # node is infected
new_node = NodeService.monkey_to_net_node(monkey) new_node = NodeService.monkey_to_net_node(monkey)
for key in 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] new_node[key] = monkey[key]
else: else:

View File

@ -40,15 +40,6 @@ class PreviewPaneComponent extends React.Component {
); );
} }
descriptionRow(asset) {
return (
<tr>
<th>Description</th>
<td>{asset.description}</td>
</tr>
);
}
aliveRow(asset) { aliveRow(asset) {
return ( return (
<tr> <tr>
@ -124,7 +115,6 @@ class PreviewPaneComponent extends React.Component {
<div> <div>
<table className="table table-condensed"> <table className="table table-condensed">
<tbody> <tbody>
{this.descriptionRow(asset)}
{this.aliveRow(asset)} {this.aliveRow(asset)}
{this.osRow(asset)} {this.osRow(asset)}
{this.ipsRow(asset)} {this.ipsRow(asset)}