Remove useless images + fix templates show page
This commit is contained in:
@@ -115,6 +115,7 @@ export default {
|
||||
return this.accept
|
||||
.split(',')
|
||||
.map((i) => {
|
||||
if (!i) return null
|
||||
return '.' + i.trim()
|
||||
})
|
||||
.join(',')
|
||||
|
||||
@@ -105,7 +105,12 @@ onMounted(() => {
|
||||
related_templates: null,
|
||||
questions: []
|
||||
})
|
||||
loadAllTemplates(templatesStore)
|
||||
})
|
||||
|
||||
watch(() => props.show, () => {
|
||||
if (props.show) {
|
||||
loadAllTemplates(templatesStore)
|
||||
}
|
||||
})
|
||||
|
||||
let typesOptions = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user