aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/Devices.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index 366831849..4131ba6f9 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -27,7 +27,7 @@ Ext.define('Traccar.view.Devices', {
controller: 'devices',
rootVisible: false,
- initComponent: function() {
+ initComponent: function () {
this.store = Ext.create('Ext.data.ChainedStore', {
source: 'Devices',
groupField: 'groupId'
@@ -75,7 +75,7 @@ Ext.define('Traccar.view.Devices', {
if (Ext.isNumber(this.getValue())) {
this.up('grid').store.filter({
id: 'groupFilter',
- filterFn: function(item) {
+ filterFn: function (item) {
var groupId, group, groupStore, filter = true;
groupId = item.get('groupId');
groupStore = Ext.getStore('Groups');
@@ -96,7 +96,7 @@ Ext.define('Traccar.view.Devices', {
return !filter;
},
scope: this
- });
+ });
} else {
this.up('grid').store.removeFilter('groupFilter');
}