mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
fix the circular progress on empty space model
This commit is contained in:
@ -81,7 +81,6 @@ class _LoadedSpaceViewState extends State<LoadedSpaceView> {
|
|||||||
clipBehavior: Clip.none,
|
clipBehavior: Clip.none,
|
||||||
children: [
|
children: [
|
||||||
widget.shouldNavigateToSpaceModelPage
|
widget.shouldNavigateToSpaceModelPage
|
||||||
? _spaceModels.isNotEmpty
|
|
||||||
? Row(
|
? Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(width: 300, child: SpaceTreeView(onSelect: () {})),
|
SizedBox(width: 300, child: SpaceTreeView(onSelect: () {})),
|
||||||
@ -101,13 +100,13 @@ class _LoadedSpaceViewState extends State<LoadedSpaceView> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
: const Center(child: CircularProgressIndicator())
|
|
||||||
: Row(
|
: Row(
|
||||||
children: [
|
children: [
|
||||||
SidebarWidget(
|
SidebarWidget(
|
||||||
communities: widget.communities,
|
communities: widget.communities,
|
||||||
selectedSpaceUuid:
|
selectedSpaceUuid: widget.selectedSpace?.uuid ??
|
||||||
widget.selectedSpace?.uuid ?? widget.selectedCommunity?.uuid ?? '',
|
widget.selectedCommunity?.uuid ??
|
||||||
|
'',
|
||||||
),
|
),
|
||||||
CommunityStructureArea(
|
CommunityStructureArea(
|
||||||
selectedCommunity: widget.selectedCommunity,
|
selectedCommunity: widget.selectedCommunity,
|
||||||
|
Reference in New Issue
Block a user