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' ;
1
2
export * from './useCreateDocUpload' ;
2
3
export * from './useDocAITransform' ;
3
4
export * from './useDocAITranslate' ;
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import { backendUrl } from '@/api';
5
5
import { useMediaUrl } from '@/core/config' ;
6
6
import { sleep } from '@/utils' ;
7
7
8
- import { useCreateDocAttachment } from '../api' ;
9
- import { checkDocMediaStatus } from '../api/checkDocMediaStatus' ;
8
+ import { checkDocMediaStatus , useCreateDocAttachment } from '../api' ;
10
9
import Loader from '../assets/loader.svg?url' ;
11
10
import Warning from '../assets/warning.svg?url' ;
12
11
import { DocsBlockNoteEditor } from '../types' ;
@@ -147,7 +146,10 @@ export const useUploadStatus = (editor: DocsBlockNoteEditor) => {
147
146
148
147
replaceUploadContent (
149
148
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
+ ) ,
151
153
) ;
152
154
} ) ;
153
155
} , 250 ) ;
You can’t perform that action at this time.
0 commit comments