fix: fix volume download data

Update the attachments info in the volume download data is consistent with the list display

Change-Id: Ieb43181f12a328d1a34035cb51cddea0416beb47
This commit is contained in:
Jingwei.Zhang 2022-08-25 10:29:47 +08:00
parent 3b84b0ad9d
commit af26542a26

View File

@ -317,7 +317,10 @@ export const getVolumeColumnsList = (self) => {
stringify: (value) => {
if (value && value.length) {
return value
.map((it) => `${it.server_name}(${it.server_id})`)
.map((it) => {
const { device, server_name, server_id } = it;
return `${device} on ${server_name || '-'}(${server_id})`;
})
.join(',');
}
return '-';