Bug Fix #28: DataStore Drive not present

This commit is contained in:
Gary Sharp
2013-12-03 11:19:51 +11:00
parent 214ecf6212
commit 551b1d3a41
@@ -40,6 +40,10 @@ namespace Disco.Web.Models.InitialConfig
}
else
{
// Drive Letter doesn't exist
if (branchParent.Path == null)
break;
// New
branchModel = FileStoreDirectoryModel.FromNew(branchesCase[i], Path.Combine(branchParent.Path, branchesCase[i]));
branchParent.SubDirectories.Add(branchModel.Name.ToUpper(), branchModel);