ui: user view: fix refresh for totp locked column
by adding the 'totp-locked' column to the model a diff store can only know if a column has changed if the column is defined in the model, otherwise it'll only load it the first time (when the 'load' called on the diff store) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
e01b9c45c5
commit
9bf4ff8409
@ -1,7 +1,7 @@
|
||||
Ext.define('pmx-users', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: [
|
||||
'userid', 'firstname', 'lastname', 'email', 'comment',
|
||||
'userid', 'firstname', 'lastname', 'email', 'comment', 'totp-locked',
|
||||
{ type: 'boolean', name: 'enable', defaultValue: true },
|
||||
{ type: 'date', dateFormat: 'timestamp', name: 'expire' },
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user