web/satellite/vuetify-poc: use image icon for SVGs in object browser
This change makes SVG file entries in the object browser table use the image icon. Previously, SVGs used the icon for unknown file types. Resolves #6306 Change-Id: Ic2a8b6154dc222292f3048d967a0420d5872acd0
This commit is contained in:
parent
6a4abb7f14
commit
0205a08c20
@ -197,7 +197,7 @@ const headers = [
|
||||
const collator = new Intl.Collator('en', { sensitivity: 'case' });
|
||||
|
||||
const extensionInfos: Map<string[], BrowserObjectTypeInfo> = new Map([
|
||||
[['jpg', 'jpeg', 'png', 'gif'], { title: 'Image', icon: imageIcon }],
|
||||
[['jpg', 'jpeg', 'png', 'gif', 'svg'], { title: 'Image', icon: imageIcon }],
|
||||
[['mp4', 'mkv', 'mov'], { title: 'Video', icon: videoIcon }],
|
||||
[['mp3', 'aac', 'wav', 'm4a'], { title: 'Audio', icon: audioIcon }],
|
||||
[['txt', 'docx', 'doc', 'pages'], { title: 'Text', icon: textIcon }],
|
||||
|
Loading…
Reference in New Issue
Block a user