Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong binding of Pusher event #59

Open
ElviraMiro opened this issue May 31, 2018 · 2 comments
Open

Wrong binding of Pusher event #59

ElviraMiro opened this issue May 31, 2018 · 2 comments

Comments

@ElviraMiro
Copy link

app/assets/javascripts/component_data/member.js.coffee file. Wrong bind?

    channel.bind 'account', (data) =>
      gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts

Probably, it should be

    channel.bind 'accounts', (data) =>
      gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts
@yivo
Copy link
Contributor

yivo commented Jun 1, 2018

@dinesh-skyach can you please validate this with 1-8 Peatio branch?

@dinesh-skyach
Copy link
Contributor

@yivo I did check this and found that there is no event "account" or "accounts" triggered from Peatio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants