Skip to content

Commit f9a0c95

Browse files
committed
excel icon change
1 parent a363425 commit f9a0c95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/sensenet/src/components/Icon.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ export const defaultContentResolvers: Array<IconResolver<GenericContent>> = [
218218
return null
219219
}
220220

221+
if (item.Name.endsWith('.xls') || item.Name.endsWith('.xlsx')) {
222+
svgPath = '/Root/System/Images/Icons/colors/xls.svg'
223+
}
224+
221225
return <IconFromPath path={svgPath} options={options} contentPath={item.Path} contentType={item.Type} />
222226
},
223227
},

0 commit comments

Comments
 (0)