state.js: more reliable isStateful detection
This commit is contained in:
parent
4bbd988411
commit
6eb808ca2c
@ -119,7 +119,7 @@ export const isStateful = () => {
|
|||||||
if (event_queue.length === 0) {
|
if (event_queue.length === 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return event_queue.some(event => event.name.includes("___"));
|
return event_queue.some(event => event.name.startsWith(main_state_name));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user