We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94eb4be commit c6a342eCopy full SHA for c6a342e
ui/src/components/view/UploadResourceIcon.vue
@@ -195,7 +195,7 @@ export default {
195
this.options.img = ''
196
},
197
beforeUpload (file) {
198
- if (!/\.(svg|jpg|jpeg|png|bmp|SVG|JPG|PNG)$/.test(file.name)) {
+ if (!/\.(bmp|jpeg|jpg|png|svg)$/i.test(file.name)) {
199
this.showAlert = true
200
}
201
const reader = new FileReader()
0 commit comments