IF statement won't work in an EACH loop with an OBJECT, yet works fine with ARRAY #2133

Closed
Dreamvention opened this Issue Dec 2, 2016 · 1 comment

Projects

None yet

4 participants

@Dreamvention
Dreamvention commented Dec 2, 2016 edited

Help us to manage our issues by answering the following:

  1. Describe your issue:

If statement won't work in an each loop with an OBJECT, yet works fine with ARRAY

  1. Can you reproduce the issue?

here
https://jsfiddle.net/rvhk0n98/10/

  1. On which browser/OS does the issue appear?

Chrome

  1. Which version of Riot does it affect?

3.0.1

  1. How would you tag this issue?
  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@Dreamvention Dreamvention changed the title from If statement won't work in an each loop with an OBJECT, yet works fine with ARRAY to IF statement won't work in an EACH loop with an OBJECT, yet works fine with ARRAY Dec 2, 2016
@rsbondi rsbondi added the bug label Dec 2, 2016
@Tommy802

"if" conditional won't work within each loop when index is in the condition but with "show" there are no Problems

reproduce

Chrome with Riotjs Version 3.0.2

@GianlucaGuarini GianlucaGuarini added a commit that closed this issue Jan 10, 2017
@GianlucaGuarini GianlucaGuarini closes #2133 68fbeb3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment