Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 0fbc80c

Browse files
lizardKAxelPeter
authored andcommitted
fix(oui-select-picker): fix svg support for picture attribute (#350)
1 parent 8090719 commit 0fbc80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/oui-select-picker/src/select-picker.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class SelectPickerController {
2727
}
2828

2929
if (this.picture) {
30-
this.isImgPath = /^data:/.test(this.picture) || /\.(gif|png|jpg)$/.test(this.picture);
30+
this.isImgPath = /^data:/.test(this.picture) || /\.(gif|png|jpg|svg)$/.test(this.picture);
3131
}
3232

3333
if (this.values) {

0 commit comments

Comments
 (0)