mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
fix bug /non uuid assign tag to be accepted
This commit is contained in:
@ -302,13 +302,6 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
|
|||||||
? enteredName
|
? enteredName
|
||||||
: (widget.name ?? '');
|
: (widget.name ?? '');
|
||||||
if (newName.isNotEmpty) {
|
if (newName.isNotEmpty) {
|
||||||
if (tags != null && tags!.isNotEmpty) {
|
|
||||||
if (tags!.any(
|
|
||||||
(tag) => tag.uuid == null || tag.uuid!.isEmpty,
|
|
||||||
)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
widget.onCreateSpace(
|
widget.onCreateSpace(
|
||||||
newName,
|
newName,
|
||||||
selectedIcon,
|
selectedIcon,
|
||||||
|
Reference in New Issue
Block a user