From 2044f3762a6ab7e107bcdd113bf43528f2dda989 Mon Sep 17 00:00:00 2001 From: Tobias Feldmann <t.feldmann@adito.de> Date: Sun, 28 Jul 2019 15:33:10 +0200 Subject: [PATCH] Bugfix colorProcess TurnoverPercentDiff in Organisation_entity --- .../entityfields/turnoverpercentdiff/colorProcess.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js index 7a56cd33a5c..9f881847a2d 100644 --- a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js +++ b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js @@ -7,8 +7,6 @@ var ret; var turnoverPercentDiff = parseInt(vars.get("$field.TurnoverPercentDiff")); if(turnoverPercentDiff > 0) - ret = neon.PRIORITY_LOW_COLOR; + result.string(neon.PRIORITY_LOW_COLOR); else if (turnoverPercentDiff < 0) - ret = neon.PRIORITY_HIGH_COLOR; - -result.string(ret); \ No newline at end of file + result.string(neon.PRIORITY_HIGH_COLOR); \ No newline at end of file -- GitLab