Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-02-12 14:39:45 +03:00
parent efb0c247ae
commit f51cfed35c

View File

@ -2283,7 +2283,7 @@ var FileSystemWriterActions = actions.Actions({
// update previews...
// NOTE: this is needed if some of the previews are the
// same as .path
Object.keys(img.preview)
Object.keys(img.preview || {})
.forEach(function(s){
var p = img.preview[s]
img.preview[s] = p == from_path ?