Read ExtJS documentation on the model class:
https://docs.sencha.com/extjs/6.2.0/classic/Ext.data.Model.html
I read the documentation and I tried Traccar.app.getUser().get('name');
and Traccar.app.getUser().get('username');
but did not work.
What I did worng?
JB
Today I use
MyId = Traccar.app.getUser().getId()
inSettingsMenuController.js
to obtain the userID of user connected.I would like to know how I get the "name user"? (like userId "21" = "John")
thank for future help
JB