8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba5b1b commit dd74d2fCopy full SHA for dd74d2f
platform/nativescript/runtime/components/v-template.js
@@ -21,8 +21,9 @@ export default {
21
return
22
}
23
24
- this.$parent.$templates = this.$parent.$templates || new TemplateBag()
25
- this.$parent.$templates.registerTemplate(
+ this.$templates = this.$parent.$templates =
+ this.$parent.$templates || new TemplateBag()
26
+ this.$templates.registerTemplate(
27
this.$props.name || (this.$props.if ? `v-template-${tid++}` : 'default'),
28
this.$props.if,
29
this.$scopedSlots.default
0 commit comments