ui: tape/ChangerStatus.js - only update status for selected changer

To reduce load/wait time.
This commit is contained in:
Dietmar Maurer 2021-02-18 11:08:13 +01:00
parent 9bbd83b1f2
commit aa16b7b284

View File

@ -419,6 +419,10 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
let tapes_fut = PBS.Async.api2({
timeout: 5*60*1000,
url: '/api2/extjs/tape/media/list',
method: 'GET',
params: {
"update-status-changer": changer,
}
});
let [status, drives, tapes_list] = await Promise.all([status_fut, drives_fut, tapes_fut]);