mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-26 08:49:40 +00:00
use final for bookablespacesModel
This commit is contained in:
@ -50,7 +50,7 @@ class BookableSpacesBloc
|
||||
bookingStartTime: event.updatedBookableSpaceConfig.bookingStartTime,
|
||||
cost: event.updatedBookableSpaceConfig.cost,
|
||||
);
|
||||
editedBookableSpace.spaceConfig = config;
|
||||
editedBookableSpace.copyWith(spaceConfig: config);
|
||||
final index = event.bookableSpaces.data.indexWhere(
|
||||
(element) => element.spaceUuid == event.bookableSpace.spaceUuid,
|
||||
);
|
||||
|
Reference in New Issue
Block a user