I am using Ember.js version 2.8.2.
I want to wrap things inside link-to
only if condition is true.
First try:
contents here
contents here
Problem: the code is not dry, because content repeats twice.
How should I do this? Thanks.
Aucun commentaire:
Enregistrer un commentaire