mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
Merge pull request #171 from SyncrowIOT/bugfix/sibling-name
This commit is contained in:
@ -526,6 +526,8 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
|
|||||||
isNameFieldInvalid = true;
|
isNameFieldInvalid = true;
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
} else if (isNameFieldExist) {
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
String newName = enteredName.isNotEmpty ? enteredName : (widget.name ?? '');
|
String newName = enteredName.isNotEmpty ? enteredName : (widget.name ?? '');
|
||||||
if (newName.isNotEmpty) {
|
if (newName.isNotEmpty) {
|
||||||
|
Reference in New Issue
Block a user