We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e5b23a commit a2407eeCopy full SHA for a2407ee
1 file changed
Ignia.Topics.Web.Mvc/Controllers/LayoutControllerBase{T}.cs
@@ -194,7 +194,7 @@ protected T AddNestedTopics(
194
) {
195
tiers--;
196
if (sourceTopic == null) {
197
- return null as T;
+ return null;
198
}
199
var viewModel = _topicMappingService.Map<T>(sourceTopic, Relationships.None);
200
if (tiers >= 0 && (allowPageGroups || !sourceTopic.ContentType.Equals("PageGroup")) && viewModel.Children.Count == 0) {
0 commit comments