diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/edit/Attributes.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/app/view/edit/Attributes.js b/web/app/view/edit/Attributes.js index 981d5399..7788d8c8 100644 --- a/web/app/view/edit/Attributes.js +++ b/web/app/view/edit/Attributes.js @@ -61,9 +61,6 @@ Ext.define('Traccar.view.edit.Attributes', { return Ext.getStore('SpeedUnits').formatValue(value, Traccar.app.getPreference('speedUnit', 'kn')); } else if (attribute && attribute.get('convert') === 'distance') { return Ext.getStore('DistanceUnits').formatValue(value, Traccar.app.getPreference('distanceUnit', 'km')); - } else if (attribute && attribute.get('type') === 'color') { - metaData.tdStyle = 'background-color:' + value; - return value; } else { return value; } |