ui: tape/DriveStatus: fix handler name for eject

We call 'ejectMedia' not 'eject', so rename the function.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-03-03 15:00:49 +01:00 committed by Dietmar Maurer
parent 5c4203b20c
commit b83e136fb6

View File

@ -74,7 +74,7 @@ Ext.define('PBS.TapeManagement.DriveStatus', {
}).show();
},
eject: function() {
ejectMedia: function() {
let me = this;
let view = me.getView();
let driveid = view.drive;