I am trying to alias a computed property in a component from a controller. The component is called comments-sidebar.js
I have tried both of the following but neither of them worked.
unreadCommentsOrChanges:Ember.computed.alias('comments-sidebar.unreadCommentsOrChanges'),
unreadCommentsOrChanges:Ember.computed.alias('commentsSidebar.unreadCommentsOrChanges'),
Does anyone know the correct syntax for doing this or if it is even correct? I have not been able to find any similar examples online.
Aucun commentaire:
Enregistrer un commentaire