From 25550fb756c4a0804fb367d03075e3420166a3c8 Mon Sep 17 00:00:00 2001 From: Michael Hawker <24302614+michael-hawker@users.noreply.github.com> Date: Mon, 9 Dec 2024 23:53:34 -0800 Subject: [PATCH] Uncomment Code that was due to a local stale extension --- .../Microsoft.CmdPal.UI.ViewModels/CommandItemViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandItemViewModel.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandItemViewModel.cs index 53965fdc34..a1d6b46ae1 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandItemViewModel.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandItemViewModel.cs @@ -80,11 +80,11 @@ public partial class CommandItemViewModel : ExtensionObjectViewModel Title = model.Title; Subtitle = model.Subtitle; IconUri = model.Icon.Icon; - /*MoreCommands = model.MoreCommands + MoreCommands = model.MoreCommands .Where(contextItem => contextItem is ICommandContextItem) .Select(contextItem => (contextItem as ICommandContextItem)!) .Select(contextItem => new CommandContextItemViewModel(contextItem, Scheduler)) - .ToList();*/ + .ToList(); // Here, we're already theoretically in the async context, so we can // use Initialize straight up