diff options
Diffstat (limited to 'web/app/model')
-rw-r--r-- | web/app/model/Device.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/web/app/model/Device.js b/web/app/model/Device.js index f733a30..9de5828 100644 --- a/web/app/model/Device.js +++ b/web/app/model/Device.js @@ -30,19 +30,24 @@ Ext.define('Traccar.model.Device', { type: 'string' }, { name: 'phone', - type: 'string' + type: 'string', + allowNull: true }, { name: 'model', - type: 'string' + type: 'string', + allowNull: true }, { name: 'contact', - type: 'string' + type: 'string', + allowNull: true }, { name: 'category', - type: 'string' + type: 'string', + allowNull: true }, { name: 'status', - type: 'string' + type: 'string', + allowNull: true }, { name: 'lastUpdate', type: 'date', |