Skip to content
Snippets Groups Projects
Commit e85d5123 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Fix rendering settings that have type ['string', 'image']

parent b9f1c93f
No related branches found
No related tags found
1 merge request!151Add missing settings
......@@ -295,7 +295,7 @@ export default {
return this.$store.state.settings.updatedSettings
},
isImageUrl() {
return [':background', ':logo', ':nsfwCensorImage', ':default_user_avatar', ':instance_thumbnail'].includes(this.setting.key)
return Array.isArray(this.setting.type) && this.setting.type.includes('image')
}
},
methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment