Skip to content

Commit c245d33

Browse files
authored
Fix dropdown notice pt2 (#1383)
1 parent 2c74e2d commit c245d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tooling/docs-assembler/Legacy/PageLegacyUrlMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public PageLegacyUrlMapper(LegacyPageChecker legacyPageChecker, IReadOnlyDiction
1818
LegacyPageChecker = legacyPageChecker;
1919
}
2020

21-
public IReadOnlyCollection<LegacyPageMapping> MapLegacyUrl(IReadOnlyCollection<string>? mappedPages)
21+
public IReadOnlyCollection<LegacyPageMapping>? MapLegacyUrl(IReadOnlyCollection<string>? mappedPages)
2222
{
2323
if (mappedPages is null)
24-
return [];
24+
return null;
2525

2626
if (mappedPages.Count == 0)
2727
return [new LegacyPageMapping(mappedPages.FirstOrDefault() ?? string.Empty, string.Empty, false)];

0 commit comments

Comments
 (0)