mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 13:34:56 +00:00
Add update events for device and subspace names
implement copyWith methods in models
This commit is contained in:
@ -87,6 +87,11 @@ class DeviceManagementContent extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
context.read<DeviceManagementBloc>().add(UpdateSubSpaceName(
|
||||
subspaceId: selectedSubSpace.id!,
|
||||
deviceId: device.uuid!,
|
||||
newSubSpaceName: selectedSubSpace.name ?? ''));
|
||||
}
|
||||
},
|
||||
child: infoRow(
|
||||
|
||||
Reference in New Issue
Block a user