These are chat archives for canjs/canjs

Oct 2018
Oct 21 2018 11:04
is there a way to check in stache multiple conditions with AND or OR ? currently i using nested IF's
{{#if (entnahmestelleStagingDetailsPromise.isResolved)}}
        {{#if (entnahmestelleMDMDetailsPromise.isResolved)}}
but thats a mess
Viktor Busko
Oct 21 2018 13:47
I use "eq" sometimes if logic can be built with it {{#eq somethin.isResolved something.isResolved true}} this kind of stuff works
but this doesnt cover all cases of course
Jeroen Cornelissen
Oct 21 2018 19:04
@pYr0x I use a getter in my VM. get fooAndBar() { return &&; }