You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With nextcloud/tasks#586 and nextcloud/tasks#601 I realised, that the vue-components rely on the app to bind t to Vue.prototype.t (and probably n to be bound to Vue.prototype.n).
Second, I didn't find this in the Readme of the components, so this should either be added, or the vue-components should bind t to the correct prototype themself (don't know, whether this is possible).
Changing the instance properties to be scoped would be a breaking change in case the components cannot bind t themself.
The text was updated successfully, but these errors were encountered:
With nextcloud/tasks#586 and nextcloud/tasks#601 I realised, that the vue-components rely on the app to bind
t
toVue.prototype.t
(and probablyn
to be bound toVue.prototype.n
).First, as stated https://vuejs.org/v2/cookbook/adding-instance-properties.html#The-Importance-of-Scoping-Instance-Properties, instance properties should be scoped (so start with a
$
).Second, I didn't find this in the Readme of the components, so this should either be added, or the vue-components should bind
t
to the correct prototype themself (don't know, whether this is possible).Changing the instance properties to be scoped would be a breaking change in case the components cannot bind
t
themself.The text was updated successfully, but these errors were encountered: