From 8bdadacbba8d41be298dccd5aaee89a0b3141f1b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 9 May 2022 00:18:45 +0300 Subject: [PATCH] some more fixes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index af5b98a..be021c3 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -483,11 +483,14 @@ module.MetaStore = { __paths__: function(){ var that = this var data = this.data - Object.keys(data) + return Object.keys(data) .map(function(path){ return object.childOf(data[path], module.BaseStore) ? - data[path].paths() - : data[path] }) + data[path] + .paths() + .map(function(s){ + return module.path.join(path, s) }) + : path }) .flat() }, // XXX revise...