File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/frontend/apps/impress/src/features/docs/doc-editor Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ export * from './checkDocMediaStatus' ;
12export * from './useCreateDocUpload' ;
23export * from './useDocAITransform' ;
34export * from './useDocAITranslate' ;
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import { backendUrl } from '@/api';
55import { useMediaUrl } from '@/core/config' ;
66import { sleep } from '@/utils' ;
77
8- import { useCreateDocAttachment } from '../api' ;
9- import { checkDocMediaStatus } from '../api/checkDocMediaStatus' ;
8+ import { checkDocMediaStatus , useCreateDocAttachment } from '../api' ;
109import Loader from '../assets/loader.svg?url' ;
1110import Warning from '../assets/warning.svg?url' ;
1211import { DocsBlockNoteEditor } from '../types' ;
@@ -147,7 +146,10 @@ export const useUploadStatus = (editor: DocsBlockNoteEditor) => {
147146
148147 replaceUploadContent (
149148 blockId ,
150- informationStatus ( Warning . src , t ( 'The analyze failed...' ) ) ,
149+ informationStatus (
150+ Warning . src ,
151+ t ( 'The antivirus has detected an anomaly in your file.' ) ,
152+ ) ,
151153 ) ;
152154 } ) ;
153155 } , 250 ) ;
You can’t perform that action at this time.
0 commit comments