fix bug /non uuid assign tag to be accepted

This commit is contained in:
raf-dev1
2025-06-11 14:00:15 +03:00
parent e81b9a853e
commit cd6bf32aed

View File

@ -302,13 +302,6 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
? enteredName
: (widget.name ?? '');
if (newName.isNotEmpty) {
if (tags != null && tags!.isNotEmpty) {
if (tags!.any(
(tag) => tag.uuid == null || tag.uuid!.isEmpty,
)) {
return;
}
}
widget.onCreateSpace(
newName,
selectedIcon,