fixed space model

This commit is contained in:
hannathkadher
2025-03-09 16:48:42 +04:00
parent a1d15c9cea
commit e017633b9b

View File

@ -89,7 +89,7 @@ class _LoadedSpaceViewState extends State<LoadedSpaceView> {
create: (context) => SpaceModelBloc( create: (context) => SpaceModelBloc(
BlocProvider.of<SpaceTreeBloc>(context), BlocProvider.of<SpaceTreeBloc>(context),
api: SpaceModelManagementApi(), api: SpaceModelManagementApi(),
initialSpaceModels: _spaceModels, initialSpaceModels: widget.spaceModels ?? [],
), ),
child: SpaceModelPage( child: SpaceModelPage(
products: widget.products, products: widget.products,