Skip to content

Commit

Permalink
Removing "List Unpublished Items/Content" command from "Data | Global…
Browse files Browse the repository at this point in the history
… Datatypes".
  • Loading branch information
mawtex committed Oct 18, 2018
1 parent f61e297 commit d8739c7
Showing 1 changed file with 5 additions and 2 deletions.
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
Expand Down Expand Up @@ -303,7 +303,9 @@ public IEnumerable<Element> GetRoots(SearchToken seachToken)
});
}

globalDataElement.AddAction(
if (_websiteItemsView)
{
globalDataElement.AddAction(
new ElementAction(new ActionHandle(new ViewUnpublishedItemsActionToken()))
{
VisualData = new ActionVisualizedData
Expand All @@ -321,6 +323,7 @@ public IEnumerable<Element> GetRoots(SearchToken seachToken)
}
}
});
}


roots.Add(globalDataElement);
Expand Down

0 comments on commit d8739c7

Please sign in to comment.