We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c7408 commit 3e31b2bCopy full SHA for 3e31b2b
src/Files.App/UserControls/Menus/FileTagsContextMenu.cs
@@ -63,6 +63,7 @@ private void Item_Opening(object? sender, object e)
63
// go through each tag and find the common one for all files
64
var commonFileTags = SelectedItems
65
.Select(x => x?.FileTags ?? Enumerable.Empty<string>())
66
+ .DefaultIfEmpty(Enumerable.Empty<string>())
67
.Aggregate((x, y) => x.Intersect(y))
68
.Select(x => Items.FirstOrDefault(y => x == ((TagViewModel)y.Tag)?.Uid));
69
0 commit comments