ui: fix usage of findRecord
findRecord does not match exactly, but only at the beginning and case insensitive, by default. Change all calls to be case sensitive and an exactmatch (we never want the default behaviour afaics). Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
96f35520a0
commit
781106f8c5
@ -266,7 +266,8 @@ Ext.define('PBS.DataStoreSummary', {
|
||||
},
|
||||
failure: function(response) {
|
||||
// fallback if e.g. we have no permissions to the config
|
||||
let rec = Ext.getStore('pbs-datastore-list').findRecord('store', me.datastore);
|
||||
let rec = Ext.getStore('pbs-datastore-list')
|
||||
.findRecord('store', me.datastore, 0, false, true, true);
|
||||
if (rec) {
|
||||
me.down('pbsDataStoreNotes').setNotes(rec.data.comment || "");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user