feat(ui): attach MergeModal to DetailsIsland

This commit is contained in:
Mika Kuns
2026-04-22 09:53:03 +02:00
parent f3a58a6515
commit 949911f6c8

View File

@@ -36,6 +36,14 @@ public partial class DetailsIslandView : UserControl
await modal.ShowDialog(owner);
};
vm.ShowMergeModal = async (mergeVm) =>
{
var owner = TopLevel.GetTopLevel(this) as Window;
if (owner == null) return;
var modal = new MergeModalView { DataContext = mergeVm };
await modal.ShowDialog(owner);
};
vm.ConfirmAsync = ShowConfirmAsync;
}
}