Skip to content

Commit

Permalink
fix(react-file-type-icons): Map mhtml extension to html icon (#28112)
Browse files Browse the repository at this point in the history
* Add mhtml to extensions under html type

* Change files

---------

Co-authored-by: Alina Zaieva <alinazaieva@microsoft.com>
Co-authored-by: Tomi Olubeko <66456876+tomi-msft@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 19, 2023
1 parent 53292d2 commit 88f0134
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Map mhtml extension to html icon",
"packageName": "@fluentui/react-file-type-icons",
"email": "alinazaieva@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion packages/react-file-type-icons/src/FileTypeIconMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export const FileTypeIconMap: { [key: string]: { extensions?: string[] } } = {
form: {},
genericfile: {},
html: {
extensions: ['htm', 'html', 'mht'],
extensions: ['htm', 'html', 'mht', 'mhtml'],
},
ipynb: {
extensions: ['nnb', 'ipynb'],
Expand Down

0 comments on commit 88f0134

Please sign in to comment.