feat: add fe changes for captain pdf support for faq generation

This commit is contained in:
Tanmay Deep Sharma
2025-08-06 12:07:52 +05:30
parent 51b9fd8eca
commit 8627400e6a
11 changed files with 615 additions and 31 deletions
@@ -23,7 +23,9 @@ const handleSubmit = async newDocument => {
dialogRef.value.close();
} catch (error) {
const errorMessage =
error?.response?.message || t(`${i18nKey}.ERROR_MESSAGE`);
error?.response?.data?.message ||
error?.response?.message ||
t(`${i18nKey}.ERROR_MESSAGE`);
useAlert(errorMessage);
}
};