diff --git a/Viewer/imagegrid/file.js b/Viewer/imagegrid/file.js index 1fe264e9..d4b274d5 100755 --- a/Viewer/imagegrid/file.js +++ b/Viewer/imagegrid/file.js @@ -341,7 +341,7 @@ function(path, index_dir, logger){ && logger.emit('error', err) console.error(err) }) .on('data', function(path){ - paths.push(path) }) + files.push(path) }) .on('end', function(){ var data = groupByDate(files) // XXX should we mark the root timestamp in any way??? diff --git a/Viewer/package-lock.json b/Viewer/package-lock.json index db0eb05e..7a5e8592 100644 --- a/Viewer/package-lock.json +++ b/Viewer/package-lock.json @@ -1,12 +1,12 @@ { "name": "ImageGrid.Viewer.g4", - "version": "4.0.8a", + "version": "4.0.9a", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ImageGrid.Viewer.g4", - "version": "4.0.8a", + "version": "4.0.9a", "dependencies": { "app-module-path": "*", "async-json": "0.0.2", diff --git a/Viewer/package.json b/Viewer/package.json index da7cc021..af1f7451 100644 --- a/Viewer/package.json +++ b/Viewer/package.json @@ -1,7 +1,7 @@ { "name": "ImageGrid.Viewer.g4", "main": "index.html", - "version": "4.0.8a", + "version": "4.0.9a", "author": "Alex A. Naanou (https://github.com/flynx)", "contributors": [], "repository": "github:flynx/ImageGrid",