refac/feat: note/knowledge/chat select input menu
This commit is contained in:
@@ -1546,3 +1546,11 @@ export const convertHeicToJpeg = async (file: File) => {
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
|
||||
export const decodeString = (str: string) => {
|
||||
try {
|
||||
return decodeURIComponent(str);
|
||||
} catch (e) {
|
||||
return str;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user