mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-26 03:47:56 +00:00
fixes unique id for card drag
This commit is contained in:
@@ -6,7 +6,7 @@ class RoutineState extends Equatable {
|
||||
final List<Map<String, String>> availableCards;
|
||||
final List<ScenesModel> scenes;
|
||||
final List<ScenesModel> automations;
|
||||
final List<DeviceFunctionData> selectedFunctions;
|
||||
final Map<String, List<DeviceFunctionData>> selectedFunctions;
|
||||
final bool isLoading;
|
||||
final String? errorMessage;
|
||||
|
||||
@@ -16,7 +16,7 @@ class RoutineState extends Equatable {
|
||||
this.availableCards = const [],
|
||||
this.scenes = const [],
|
||||
this.automations = const [],
|
||||
this.selectedFunctions = const [],
|
||||
this.selectedFunctions = const {},
|
||||
this.isLoading = false,
|
||||
this.errorMessage,
|
||||
});
|
||||
@@ -26,7 +26,7 @@ class RoutineState extends Equatable {
|
||||
List<Map<String, dynamic>>? thenItems,
|
||||
List<ScenesModel>? scenes,
|
||||
List<ScenesModel>? automations,
|
||||
List<DeviceFunctionData>? selectedFunctions,
|
||||
Map<String, List<DeviceFunctionData>>? selectedFunctions,
|
||||
bool? isLoading,
|
||||
String? errorMessage,
|
||||
}) {
|
||||
|
||||
Reference in New Issue
Block a user