fix(dispatcher): handlers without filters
This commit is contained in:
parent
e1dab9a195
commit
0633d0a817
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ export class Dispatcher<State = never, SceneName extends string = string> {
|
|||
handler?: any,
|
||||
group?: number
|
||||
): void {
|
||||
if (typeof handler === 'number') {
|
||||
if (typeof handler === 'number' || typeof handler === 'undefined') {
|
||||
this.addUpdateHandler(
|
||||
{
|
||||
name,
|
||||
|
|
Loading…
Reference in a new issue