Change active state logic in resolveRuntimeActorScheduleState
This commit is contained in:
@@ -435,7 +435,7 @@ export function resolveRuntimeActorScheduleState(options: {
|
|||||||
return {
|
return {
|
||||||
actorId: options.actorId,
|
actorId: options.actorId,
|
||||||
hasRules: actorRules.length > 0,
|
hasRules: actorRules.length > 0,
|
||||||
active: actorRules.length === 0,
|
active: true,
|
||||||
activeRoutineId: null,
|
activeRoutineId: null,
|
||||||
activeRoutineTitle: null,
|
activeRoutineTitle: null,
|
||||||
presenceEffect: null,
|
presenceEffect: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user