Fix method typo

This commit is contained in:
Anton Tananaev 2017-08-20 10:28:48 +12:00
parent b1b6a17880
commit a0bd864d66

View File

@ -42,7 +42,7 @@ Ext.define('Traccar.view.edit.UsersController', {
Ext.getStore('Users').load();
this.lookupReference('userUsersButton').setHidden(!Traccar.app.getUser().get('admin'));
this.lookupReference('userDriversButton').setHidden(
Traccar.app.isVehicleFeaturesDisabled() || Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
Traccar.app.getVehicleFeaturesDisabled() || Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
this.lookupReference('userAttributesButton').setHidden(
Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
this.lookupReference('userCalendarsButton').setHidden(