X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Ffrontend%2Fsrc%2Fapp%2Fshared%2Fapi%2Fhost.service.ts;h=d13f415275aa32f76ce858f6dc9d1d04e5ffb8b1;hb=33c7a0ef2143973309014ab28861a6fa401a5aa5;hp=1250247aefffa118d808164def7d8dd5ce21fe0c;hpb=334454b92d2232c93065b03e4978815c1ddcef44;p=ceph.git diff --git a/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts b/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts index 1250247ae..d13f41527 100644 --- a/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts +++ b/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts @@ -141,7 +141,9 @@ export class HostService extends ApiClient { const devices = _.flatMap(hosts, (host) => { return host.devices.map((device) => { device.hostname = host.name; - device.uid = device.device_id ? device.device_id : `${device.hostname}-${device.path}`; + device.uid = device.device_id + ? `${device.device_id}-${device.hostname}-${device.path}` + : `${device.hostname}-${device.path}`; return device; }); });