Fixed a problem with single child account not populating tree
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Swarmops.Frontend.Automation
|
||||
|
||||
// Is this stuff in cache already?
|
||||
|
||||
string cacheKey = "ExpensableBudgets-Json-" + accountType +
|
||||
string cacheKey = "Budgets-Json-" + accountType +
|
||||
// use the sanitized input to prevent cache overload
|
||||
CurrentOrganization.Identity.ToString ((CultureInfo.InvariantCulture));
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace Swarmops.Frontend.Automation
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
if (this._hashedAccounts[rootNodeId].Count == 1)
|
||||
if (this._hashedAccounts[rootNodeId].Count < 1)
|
||||
{
|
||||
// No children
|
||||
|
||||
|
||||
@@ -110,13 +110,6 @@
|
||||
<Compile Include="Controls\v5\Base\AjaxToggleSlider.ascx.designer.cs">
|
||||
<DependentUpon>AjaxToggleSlider.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\v5\Base\FileUploader.ascx.cs">
|
||||
<DependentUpon>FileUploader.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\v5\Base\FileUploader.ascx.designer.cs">
|
||||
<DependentUpon>FileUploader.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Controls\v5\Swarm\ImpersonationWarningBox.ascx.cs">
|
||||
<DependentUpon>ImpersonationWarningBox.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -690,7 +683,6 @@
|
||||
<Content Include="Controls\v5\Base\ComboGeographies.ascx" />
|
||||
<Content Include="Controls\v5\Base\DropDown.ascx" />
|
||||
<Content Include="Controls\v5\Base\FileUpload.ascx" />
|
||||
<Content Include="Controls\v5\Base\FileUploader.ascx" />
|
||||
<Content Include="Controls\v5\Base\MainMenu.ascx" />
|
||||
<Content Include="Controls\v5\Base\ModalDialog.ascx" />
|
||||
<Compile Include="Controls\v5\Base\AjaxTextBox.ascx.designer.cs">
|
||||
|
||||
Reference in New Issue
Block a user