diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index d6a1a475..b412c1e4 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -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: {