in desktop/src/app/components/pool/graphs/performance-graph/disk-usage/disk-usage-graph.component.ts [99:127]
private _labelForDisk(disk: string) {
const isCloudService = this.pool.cloudServiceConfiguration;
let type = "";
if (isCloudService) {
switch (disk) {
case "C:/":
type = "(User disk)";
break;
case "D:/":
type = "(OS disk)";
break;
}
} else {
switch (disk) {
case "C:/":
case "/":
type = "(OS disk)";
break;
case "D:/":
case "/mnt":
case "/mnt/resources":
type = "(User disk)";
break;
}
}
return `${disk} ${type}`;
}