webdav portal root quote added

This commit is contained in:
vfedosevich 2015-03-02 05:10:53 -08:00
parent 6bf818f1d8
commit 6dc1d0c259
8 changed files with 35 additions and 10 deletions

View file

@ -50,9 +50,9 @@ namespace WebsitePanel.WebDav.Core.Managers
children = ConnectToWebDavServer().Select(x => new WebDavResource
{
Href = new Uri(x.Url),
ItemType = ItemType.Folder,
ContentLength = x.Size,
AllocatedSpace = x.FRSMQuotaMB,
ItemType = ItemType.Folder,
ContentLength = x.Size * 1024 * 1024,
AllocatedSpace = x.FRSMQuotaMB * 1024 * 1024,
IsRootItem = true
}).ToArray();
}