Drawer korrigiert, Gruppenanlegen optimiert.
This commit is contained in:
1 parent
5ca960746b
commit
fdbaa9ef4d
7 files changed
+163
-69
No files matched your search
@@ -40,11 +40,12 @@ public partial class MainWindowViewModel : ObservableObject
|
||||
};
|
||||
}
|
||||
|
||||
public void NavigateToGroupDetail(Guid groupId)
|
||||
public void NavigateToGroupDetail(Guid groupId, int initialTab = 0)
|
||||
{
|
||||
ActiveNavItem = NavItem.Groups;
|
||||
var vm = _services.GetRequiredService<GroupDetailViewModel>();
|
||||
vm.LoadGroup(groupId);
|
||||
vm.ActiveTabIndex = initialTab;
|
||||
CurrentPage = vm;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user