fix tab state issues

This commit is contained in:
Fabian Freund
2025-03-11 23:26:39 +01:00
parent 86d1e9c455
commit 7d2700a481
5 changed files with 44 additions and 10 deletions
@@ -144,7 +144,7 @@ class TabRepository extends _$TabRepository {
final unassignedTabs = await ref
.read(containerRepositoryProvider.notifier)
.getContainerTabIds(currentContainerId);
.getContainerTabIds(null);
if (unassignedTabs.isNotEmpty) {
return _tabsService.selectTab(tabId: unassignedTabs.first);
@@ -6,7 +6,7 @@ part of 'tab.dart';
// RiverpodGenerator
// **************************************************************************
String _$tabRepositoryHash() => r'a798385b50c101e41b9789e92181cbd5b6188246';
String _$tabRepositoryHash() => r'10768bd2c880edd40f82ed49532d9e2e2043e61f';
/// See also [TabRepository].
@ProviderFor(TabRepository)