fix icon alt again

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-16 15:13:17 -08:00
parent 9c37a9e562
commit ea06755a1e

View File

@ -109,7 +109,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti
let icon = document.createElement("img");
icon.src = diskConfig[type][busPrefix].icon;
icon.alt = `${bus} ${device}`;
icon.alt = `${busName} ${device}`;
field.append(icon);
let busLabel = document.createElement("label");