]> git.proxmox.com Git - proxmox-backup.git/commit
ui: tape: handle tapes in changers without barcode
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 30 Apr 2021 08:13:13 +0000 (10:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 30 Apr 2021 08:23:53 +0000 (10:23 +0200)
commitd1bee4344d0f6e3b98eab53a7c5cea87b0108538
treecb9a78e6c893f743458e12e9c883d609b5f4d047
parentd724116c0ce715ab4ddeebcf30c7e63216bb5a28
ui: tape: handle tapes in changers without barcode

by checking for definedness of the label (tapes without barcode
have the empty string as label-text) and falling back to the
source slot for the load action

Note: Changed the load-slot API from PUT to POST

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
src/api2/tape/drive.rs
www/tape/ChangerStatus.js