aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/State.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-23 12:31:12 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-23 12:31:12 +0500
commitfcfc1147e9dfc4285baaf1e1990325130514768b (patch)
tree393af69a9c11d46986fc6a0f13b0ce58aace1549 /web/app/view/State.js
parent1505033b1ddcc6ccfe6b82e783e776eea9fcbf80 (diff)
downloadetbsa-traccar-web-fcfc1147e9dfc4285baaf1e1990325130514768b.tar.gz
etbsa-traccar-web-fcfc1147e9dfc4285baaf1e1990325130514768b.tar.bz2
etbsa-traccar-web-fcfc1147e9dfc4285baaf1e1990325130514768b.zip
Make value cells word wrap in State panel
Diffstat (limited to 'web/app/view/State.js')
-rw-r--r--web/app/view/State.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/State.js b/web/app/view/State.js
index 690c097..32f9586 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -59,6 +59,7 @@ Ext.define('Traccar.view.State', {
}, {
text: Strings.stateValue,
dataIndex: 'value',
+ cellWrap: true,
renderer: function (value, metaData, record) {
if (record.get('attribute') === 'alarm') {
metaData.tdCls = 'view-color-red';