lundi 11 mai 2020

How do I replace invokeAction attributes on link-to components in EmberJs?

I have a piece of code like

Which gives me this error message: Do not use action as (action ...). Instead, use the on modifier and fn helper.ember-template-lint(no-action)

How do I replace action here? I tried changing it to an onclick and using fn but that didnt seem to work




Aucun commentaire:

Enregistrer un commentaire