[pbs-devel] [PATCH proxmox-backup] ui: user view: fix refresh for totp locked column
Dominik Csapak
d.csapak at proxmox.com
Tue Jun 27 13:27:07 CEST 2023
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 at proxmox.com>
---
www/config/UserView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/config/UserView.js b/www/config/UserView.js
index 9a0a0b2b..62eb0f16 100644
--- a/www/config/UserView.js
+++ b/www/config/UserView.js
@@ -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' },
],
--
2.30.2
More information about the pbs-devel
mailing list