Skip to content

Commit dfc2b65

Browse files
committed
Merge branch 'dmdimitrov/chat-ai-component' of https://github.com/IgniteUI/igniteui-webcomponents into dmdimitrov/chat-ai-component
2 parents 7ab0225 + c14f1cb commit dfc2b65

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/components/chat/chat-state.ts

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,23 @@ export class ChatState {
282282
}
283283

284284
public _fileIconMap: Record<string, string> = {
285-
pdf: this._fileIcon,
285+
css: this._fileIcon,
286+
csv: this._fileIcon,
286287
doc: this._fileIcon,
287288
docx: this._fileIcon,
288-
xls: this._fileIcon,
289-
xlsx: this._fileIcon,
290-
txt: this._fileIcon,
289+
htm: this._fileIcon,
290+
html: this._fileIcon,
291+
js: this._fileIcon,
291292
json: this._jsonIcon,
292-
link: this._linkIcon,
293+
pdf: this._fileIcon,
294+
rtf: this._fileIcon,
295+
svg: this._fileIcon,
296+
txt: this._fileIcon,
297+
url: this._linkIcon,
298+
xls: this._fileIcon,
299+
xlsx: this._jsonIcon,
300+
xml: this._linkIcon,
301+
zip: this._fileIcon,
293302
default: this._fileIcon, // A fallback icon
294303
};
295304

0 commit comments

Comments
 (0)