mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-26 07:07:55 +00:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7de9e25ed5 | ||
|
|
123949aa86 | ||
|
|
6d554c5953 | ||
|
|
5ed87a5794 | ||
|
|
168c997240 |
@@ -609,6 +609,7 @@ class SpaceManagementBloc extends Bloc<SpaceManagementEvent, SpaceManagementStat
|
|||||||
subspaces: subspaceUpdates,
|
subspaces: subspaceUpdates,
|
||||||
tags: tagUpdates,
|
tags: tagUpdates,
|
||||||
direction: space.incomingConnection?.direction,
|
direction: space.incomingConnection?.direction,
|
||||||
|
spaceModelUuid: space.spaceModel?.uuid,
|
||||||
projectId: projectUuid);
|
projectId: projectUuid);
|
||||||
} else {
|
} else {
|
||||||
// Call create if the space does not have a UUID
|
// Call create if the space does not have a UUID
|
||||||
|
|||||||
@@ -297,6 +297,8 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
|
|||||||
),
|
),
|
||||||
onDeleted: () => setState(() {
|
onDeleted: () => setState(() {
|
||||||
this.selectedSpaceModel = null;
|
this.selectedSpaceModel = null;
|
||||||
|
subspaces = widget.subspaces ?? [];
|
||||||
|
tags = widget.tags ?? [];
|
||||||
})),
|
})),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -227,6 +227,7 @@ class CommunitySpaceManagementApi {
|
|||||||
required Offset position,
|
required Offset position,
|
||||||
List<TagModelUpdate>? tags,
|
List<TagModelUpdate>? tags,
|
||||||
List<UpdateSubspaceTemplateModel>? subspaces,
|
List<UpdateSubspaceTemplateModel>? subspaces,
|
||||||
|
String? spaceModelUuid,
|
||||||
required String projectId}) async {
|
required String projectId}) async {
|
||||||
try {
|
try {
|
||||||
final body = {
|
final body = {
|
||||||
@@ -238,6 +239,7 @@ class CommunitySpaceManagementApi {
|
|||||||
'icon': icon,
|
'icon': icon,
|
||||||
'subspace': subspaces,
|
'subspace': subspaces,
|
||||||
'tags': tags,
|
'tags': tags,
|
||||||
|
'spaceModelUuid': spaceModelUuid,
|
||||||
};
|
};
|
||||||
if (parentId != null) {
|
if (parentId != null) {
|
||||||
body['parentUuid'] = parentId;
|
body['parentUuid'] = parentId;
|
||||||
|
|||||||
Reference in New Issue
Block a user