ui: add missing comment field to remote model

when using a diffstore, we have to add all used columns to the model,
else they will not refresh on a load

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-29 09:52:29 +02:00 committed by Dietmar Maurer
parent 934f5bb8ac
commit f5d00373f3

View File

@ -1,6 +1,6 @@
Ext.define('pmx-remotes', {
extend: 'Ext.data.Model',
fields: [ 'name', 'host', 'userid', 'fingerprint' ],
fields: [ 'name', 'host', 'userid', 'fingerprint', 'comment' ],
idProperty: 'name',
proxy: {
type: 'proxmox',