public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] ui: user view: fix refresh for totp locked column
@ 2023-06-27 11:27 Dominik Csapak
  2023-06-27 11:32 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2023-06-27 11:27 UTC (permalink / raw)
  To: pbs-devel

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>
---
 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox-backup] ui: user view: fix refresh for totp locked column
  2023-06-27 11:27 [pbs-devel] [PATCH proxmox-backup] ui: user view: fix refresh for totp locked column Dominik Csapak
@ 2023-06-27 11:32 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-06-27 11:32 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Dominik Csapak

Am 27/06/2023 um 13:27 schrieb Dominik Csapak:
> 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>
> ---
>  www/config/UserView.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-27 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27 11:27 [pbs-devel] [PATCH proxmox-backup] ui: user view: fix refresh for totp locked column Dominik Csapak
2023-06-27 11:32 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal