Actions
Bug #1187
openUse a basename() when displaying drive names in client-side graphs.
Start date:
23 Mar 2025
Due date:
% Done:
50%
Estimated time:
Severity:
01 - Critical
Description
The "name" for each drive is it's fully qualified path. That should be stripped to it's basename(). There is no basename in javascript but this will work.
function basename(path) {
return path.split('/').reverse()[0];
}
I tested this and it works. Just to make sure I get it into the codebase.
Actions