forked from AkkomaGang/admin-fe
Fix rendering settings that have type ['string', 'image']
This commit is contained in:
parent
b9f1c93f65
commit
e85d5123a5
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export default {
|
||||||
return this.$store.state.settings.updatedSettings
|
return this.$store.state.settings.updatedSettings
|
||||||
},
|
},
|
||||||
isImageUrl() {
|
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: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue