UI - Fix Markdown link issues

This commit is contained in:
Robert committed 2024-07-12 23:41:50 +02:00
1 parent 00948de9d6
commit 4552b3ba17
8 files changed
+75 -1

No files matched your search

+4 -1
View File
@@ -65,7 +65,7 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
router.SetRoot(this);
mainWindowService.ConfigureMainWindowProvider(this);
OpenScreen = ReactiveCommand.Create<string?>(ExecuteOpenScreen);
OpenDebugger = ReactiveCommand.CreateFromTask(ExecuteOpenDebugger);
Exit = ReactiveCommand.CreateFromTask(ExecuteExit);
@@ -107,6 +107,9 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
_windowService.ShowExceptionDialog("Fatal error occured during initialization", e);
}
});
// This isn't pretty, but it's the most straightforward way to make sure the ArtemisLinkCommand has access to the router
ArtemisLinkCommand.Router = router;
}
public SidebarViewModel SidebarViewModel { get; }