We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a363425 commit f9a0c95Copy full SHA for f9a0c95
apps/sensenet/src/components/Icon.tsx
@@ -218,6 +218,10 @@ export const defaultContentResolvers: Array<IconResolver<GenericContent>> = [
218
return null
219
}
220
221
+ if (item.Name.endsWith('.xls') || item.Name.endsWith('.xlsx')) {
222
+ svgPath = '/Root/System/Images/Icons/colors/xls.svg'
223
+ }
224
+
225
return <IconFromPath path={svgPath} options={options} contentPath={item.Path} contentType={item.Type} />
226
},
227
0 commit comments