mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-15 01:35:25 +00:00
Read icon from fetch scene api
This commit is contained in:
@ -758,6 +758,8 @@ class RoutineBloc extends Bloc<RoutineEvent, RoutineState> {
|
||||
thenItems: [],
|
||||
selectedFunctions: {},
|
||||
scenes: [],
|
||||
sceneId: '',
|
||||
automationId: '',
|
||||
automations: [],
|
||||
isLoading: false,
|
||||
errorMessage: '',
|
||||
@ -1142,6 +1144,7 @@ class RoutineBloc extends Bloc<RoutineEvent, RoutineState> {
|
||||
: action.type == 'automation'
|
||||
? 'automation'
|
||||
: 'action',
|
||||
'icon': action.icon ?? ''
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user