ui: tape/DriveStatus: show that no tape is loaded in grid title
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ecc5602c88
commit
646fc7f086
|
@ -44,6 +44,8 @@ Ext.define('PBS.TapeManagement.DriveStatus', {
|
|||
let online = statusgrid.getObjectValue('file-number') !== undefined;
|
||||
let vm = me.getViewModel();
|
||||
vm.set('online', online);
|
||||
let title = online ? gettext('Status') : gettext('Status (No Tape loaded)');
|
||||
statusgrid.setTitle(title);
|
||||
},
|
||||
|
||||
onStateLoad: function(store) {
|
||||
|
|
Loading…
Reference in New Issue