Workshop Library - Finished basic implementation of installed tab

This commit is contained in:
Robert committed 2023-09-08 17:06:48 +02:00
1 parent 876465cfdb
commit 3d1e53e395
32 files changed
+407 -191

No files matched your search

@@ -160,10 +160,10 @@ public class ProfileEditorViewModel : RoutableScreen<ProfileEditorViewModelParam
{
ProfileConfiguration? profileConfiguration = _profileService.ProfileConfigurations.FirstOrDefault(c => c.ProfileId == parameters.ProfileId);
// If the profile doesn't exist, navigate home for lack of some kind of 404 :p
// If the profile doesn't exist, cancel navigation
if (profileConfiguration == null)
{
await args.Router.Navigate("home");
args.Cancel();
return;
}