Skip to content

Commit e3ec68b

Browse files
Paolo BiavatiPaolo Biavati
authored andcommitted
Merge branch 'fix-item-date-parse'
2 parents fc09c25 + 940f51f commit e3ec68b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
path: path || [],
99
type: 'file',
1010
size: 0,
11-
date: new Date(model.date && Date.parse(model.date.replace('-','/','g'))),
11+
date: new Date(model && model.date && Date.parse(model.date.replace('-','/','g'))),
1212
perms: new Chmod(model && model.rights),
1313
content: '',
1414
recursive: false,

0 commit comments

Comments
 (0)