mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
use function to fix bug
This commit is contained in:
@ -384,6 +384,15 @@ class _CommunityStructureAreaState extends State<CommunityStructureArea> {
|
|||||||
SpaceTemplateModel? spaceModel,
|
SpaceTemplateModel? spaceModel,
|
||||||
List<SubspaceModel>? subspaces,
|
List<SubspaceModel>? subspaces,
|
||||||
List<Tag>? tags) {
|
List<Tag>? tags) {
|
||||||
|
if (widget.selectedSpace!.isNoChangesSubmited(
|
||||||
|
name,
|
||||||
|
icon,
|
||||||
|
spaceModel,
|
||||||
|
subspaces,
|
||||||
|
tags,
|
||||||
|
)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
setState(() {
|
setState(() {
|
||||||
// Update the space's properties
|
// Update the space's properties
|
||||||
widget.selectedSpace!.name = name;
|
widget.selectedSpace!.name = name;
|
||||||
|
Reference in New Issue
Block a user