This commit is contained in:
Jon Lambson 2017-09-22 14:21:44 -06:00
parent db2f851daf
commit 37a40a49ff
1 changed files with 3 additions and 4 deletions

View File

@ -352,9 +352,8 @@ app.controller('websiteCtrl', [
window.alert(JSON.stringify(result.data)); window.alert(JSON.stringify(result.data));
result.data.forEach(function(dir) { result.data.forEach(function(dir) {
if (dir.directory) { if (dir.directory) {
vm.directories.push(dir.name); debugger;
} else if (dir.file) { console.log('asdfasdfasdf');
vm.files.push(dir.name);
} }
}); });
}); });