jeudi 3 août 2017

Ember if/else statement issue

I am new to ember and could use some help calling separate actions depending on if the field is true or false in my database. For some reason it is not working correctly, it will connect to the database but cannot distinct between true or false. Here is the code:


     <button class="btn-block btn-account" id="notificationStatus" >NOTIFICATIONS: ON</button>        

     <button class="btn-block btn-account" id="notificationStatus" >NOTIFICATIONS: OFF</button>


If anyone has any recommendations I would greatly appreciate.

Aucun commentaire:

Enregistrer un commentaire