diff options
Diffstat (limited to 'web/app/model/Device.js')
-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 f733a303..9de5828d 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', |