From b6fac2576c709e93b093e84fa695387ca9e2e01a Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Wed, 7 Sep 2022 15:25:39 +0200 Subject: [PATCH] Minor adjustment --- packages/web-app-files/src/helpers/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-app-files/src/helpers/path.js b/packages/web-app-files/src/helpers/path.js index a2a186f0699..678d3f36d60 100644 --- a/packages/web-app-files/src/helpers/path.js +++ b/packages/web-app-files/src/helpers/path.js @@ -21,7 +21,7 @@ export function getParentPaths(path = '', includeCurrent = false) { const paths = [] const sections = s.split('/') - if (includeCurrent && s) { + if (includeCurrent) { paths.push(s) }