Fix meta tags robots form templates

Bu işleme şunda yer alıyor:
Julien Nahum 2023-09-09 12:09:33 +02:00
ebeveyn a81aa6a9e7
işleme 6e48cf6d4c
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme

Dosyayı Görüntüle

@ -264,7 +264,10 @@ export default {
return this.template.image_url
},
metaTags () {
return (this.template && this.template.publicly_listed) ? [] : [{ name: 'robots', content: 'noindex' }]
if (!this.template) {
return [];
}
return this.template.publicly_listed ? [] : [{ name: 'robots', content: 'noindex' }]
},
createFormWithTemplateUrl () {
if(this.authenticated) {