+
Skip to content

dispatchIdentity rudely omit all params when the first one is undefined. #716

Open
@bukuta

Description

@bukuta

I just fall in the hole these days.

https://github.com/goatslacker/alt/blob/master/src/utils/AltUtils.js#L54-L57

export function dispatchIdentity(x, ...a) {
   if (x === undefined) return null
   return a.length ? [x].concat(a) : x
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载