mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
feat: add file icon and add message popover content (#77)
* feat: add message popover content * feat: add file icon
This commit is contained in:
@ -25,3 +25,6 @@ export default {
|
||||
getWidth,
|
||||
rsaPsw,
|
||||
};
|
||||
|
||||
export const getFileExtension = (filename: string) =>
|
||||
filename.slice(filename.lastIndexOf('.') + 1).toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user