Skip to content
Snippets Groups Projects
Commit 93c3e4b0 authored by David Bühler's avatar David Bühler
Browse files

[ivette] Properties table: fixes the taint display.

parent e3848a65
No related branches found
No related tags found
No related merge requests found
...@@ -262,8 +262,8 @@ const renderTaint: Renderer<States.Tag> = ...@@ -262,8 +262,8 @@ const renderTaint: Renderer<States.Tag> =
let color = 'black'; let color = 'black';
switch (taint.name) { switch (taint.name) {
case 'not_tainted': id = 'DROP.EMPTY'; color = '#00B900'; break; case 'not_tainted': id = 'DROP.EMPTY'; color = '#00B900'; break;
case 'data_tainted': id = 'DROP.FILLED'; color = '#FF8300'; break; case 'direct_taint': id = 'DROP.FILLED'; color = '#FF8300'; break;
case 'control_tainted': id = 'DROP.FILLED'; color = '#73BBBB'; break; case 'indirect_taint': id = 'DROP.FILLED'; color = '#73BBBB'; break;
case 'error': id = 'HELP'; break; case 'error': id = 'HELP'; break;
case 'not_applicable': id = 'MINUS'; break; case 'not_applicable': id = 'MINUS'; break;
default: default:
...@@ -304,8 +304,8 @@ const byStatus = ...@@ -304,8 +304,8 @@ const byStatus =
const byTaint = const byTaint =
Compare.option( Compare.option(
Compare.byRank( Compare.byRank(
'data_tainted', 'direct_taint',
'control_tainted', 'indirect_taint',
'not_tainted', 'not_tainted',
'error', 'error',
'not_applicable', 'not_applicable',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment