Drawer korrigiert, Gruppenanlegen optimiert.
This commit is contained in:
@@ -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