web-ui: fix classifications file navigation

This commit is contained in:
myoualid
2024-09-23 20:41:26 +01:00
parent 455012de4c
commit 7b2a30e5b7
@@ -2880,7 +2880,7 @@ export class CostUI {
currentPath.pop(); currentPath.pop();
const parent = currentPath.length const parent = currentPath.length
? currentPath[currentPath.length - 1].references ? currentPath[currentPath.length - 1].references
: data; : classificationElements;
loadLevel(parent); loadLevel(parent);
if (currentPath.length === 0) { if (currentPath.length === 0) {