diff options
Diffstat (limited to 'apps/files/src/views/TemplatePicker.vue')
-rw-r--r-- | apps/files/src/views/TemplatePicker.vue | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files/src/views/TemplatePicker.vue b/apps/files/src/views/TemplatePicker.vue index 4e0fc8c7a54..ade41a5416a 100644 --- a/apps/files/src/views/TemplatePicker.vue +++ b/apps/files/src/views/TemplatePicker.vue @@ -33,13 +33,11 @@ <!-- Templates list --> <ul class="templates-picker__list"> - <TemplatePreview - v-bind="emptyTemplate" + <TemplatePreview v-bind="emptyTemplate" :checked="checked === emptyTemplate.fileid" @check="onCheck" /> - <TemplatePreview - v-for="template in provider.templates" + <TemplatePreview v-for="template in provider.templates" :key="template.fileid" v-bind="template" :checked="checked === template.fileid" |