mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 23:34:45 +00:00
doc ocr (#7101)
* doc ocr * update * update * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code --------- Co-authored-by: zheng.shen <zheng.shen@seafile.com> Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -7,7 +7,7 @@ import { gettext } from '../../../../utils/constants';
|
||||
import metadataAPI from '../../../api';
|
||||
import toaster from '../../../../components/toast';
|
||||
import { Utils } from '../../../../utils/utils';
|
||||
import TurnOffConfirmDialog from './turn-off-confirm';
|
||||
import TurnOffConfirmDialog from '../turn-off-confirm-dialog';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -83,7 +83,9 @@ const MetadataFaceRecognitionDialog = ({ value: oldValue, repoID, toggleDialog:
|
||||
</>
|
||||
)}
|
||||
{showTurnOffConfirmDialog && (
|
||||
<TurnOffConfirmDialog toggle={turnOffConfirmToggle} submit={turnOffConfirmSubmit} />
|
||||
<TurnOffConfirmDialog title={gettext('Turn off face recognition')} toggle={turnOffConfirmToggle} submit={turnOffConfirmSubmit}>
|
||||
<p>{gettext('Do you really want to turn off face recognition? Existing results will all be deleted.')}</p>
|
||||
</TurnOffConfirmDialog>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
Reference in New Issue
Block a user