add default children to files client side

This commit is contained in:
catarak 2016-09-03 20:31:34 -04:00
parent 01ad5611c6
commit 336be41b09

View file

@ -51,21 +51,24 @@ function initialState() {
id: a,
_id: a,
isSelected: true,
fileType: 'file'
fileType: 'file',
children: []
},
{
name: 'index.html',
content: defaultHTML,
id: b,
_id: b,
fileType: 'file'
fileType: 'file',
children: []
},
{
name: 'style.css',
content: defaultCSS,
id: c,
_id: c,
fileType: 'file'
fileType: 'file',
children: []
}];
}