[2773] Fixed dispatches

https://gist.github.com/kamilgrela/a554cb3ccfdf9844c7ed
Style.
Should be like this:
`} else {`