Project

General

Profile

Actions

Bug #1187

open

Use a basename() when displaying drive names in client-side graphs.

Added by Hammel 8 days ago. Updated 2 days ago.

Status:
In Progress
Priority:
Immediate
Assignee:
Target version:
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 #1

Updated by Hammel 2 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Implemented on pistore dev board. Also in sandbox, but I need to verify they're the same.

Actions

Also available in: Atom PDF