mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 10:06:19 +00:00
Bug fixes
This commit is contained in:
@ -162,11 +162,11 @@ class SaveRoutineHelper {
|
|||||||
.read<RoutineBloc>()
|
.read<RoutineBloc>()
|
||||||
.add(const CreateSceneEvent());
|
.add(const CreateSceneEvent());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (context.read<RoutineBloc>().state.errorMessage ==
|
if (context.read<RoutineBloc>().state.errorMessage ==
|
||||||
null) {
|
null) {
|
||||||
Navigator.pop(context, true);
|
Navigator.pop(context, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
isConfirmEnabled: true,
|
isConfirmEnabled: true,
|
||||||
),
|
),
|
||||||
|
@ -92,7 +92,7 @@ class Condition {
|
|||||||
return {
|
return {
|
||||||
'code': code,
|
'code': code,
|
||||||
'entityId': entityId,
|
'entityId': entityId,
|
||||||
'entityType': entityType,
|
'entityType': 'device_report',
|
||||||
'expr': expr.toMap(),
|
'expr': expr.toMap(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user