add mhvtl detect vendor

This commit is contained in:
Warp Agent
2025-12-27 14:13:27 +00:00
parent 8e77130c62
commit 0c461d0656
5 changed files with 20 additions and 7 deletions

View File

@@ -365,7 +365,11 @@ export default function TapeLibraries() {
</td>
<td className="py-4 px-6">
<p className="text-white text-sm font-medium">
{isVTL ? 'MHVTL' : 'physical' in library ? (library as PhysicalTapeLibrary).vendor : 'N/A'}
{isVTL
? (library as VirtualTapeLibrary).vendor || 'MHVTL'
: 'physical' in library
? (library as PhysicalTapeLibrary).vendor
: 'N/A'}
</p>
<p className="text-text-secondary text-xs">
LTO-8 {library.drive_count} {library.drive_count === 1 ? 'Drive' : 'Drives'}