mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-27 06:29:41 +00:00
Diallows naming duplication when duplicating a space, and adds a proper suffix to the name in case of another spaces having a name match.
This commit is contained in:
@ -49,8 +49,8 @@ class CommunityStructureHeaderActionButtonsComposer extends StatelessWidget {
|
||||
context: context,
|
||||
builder: (_) => DuplicateSpaceDialog(
|
||||
initialName: space.spaceName,
|
||||
selectedSpaceUuid: space.uuid,
|
||||
selectedCommunityUuid: selectedCommunity.uuid,
|
||||
selectedSpace: space,
|
||||
selectedCommunity: selectedCommunity,
|
||||
onSuccess: (spaces) {
|
||||
final updatedCommunity = selectedCommunity.copyWith(
|
||||
spaces: spaces,
|
||||
|
Reference in New Issue
Block a user