Compare commits

..

1 Commits

3 changed files with 2 additions and 9 deletions

View File

@ -137,11 +137,7 @@ export class AnnotationActionsService {
let recategorizeBody: List<IRecategorizationRequest> | IBulkRecategorizationRequest;
if (
result.option === RedactOrHintOptions.ONLY_HERE ||
result.option === RectangleRedactOptions.ONLY_THIS_PAGE ||
this.#isDocumine
) {
if (result.option === RedactOrHintOptions.ONLY_HERE || result.option === RectangleRedactOptions.ONLY_THIS_PAGE) {
recategorizeBody = annotations.map(annotation => {
const body: IRecategorizationRequest = {
annotationId: annotation.id,
@ -171,7 +167,6 @@ export class AnnotationActionsService {
};
}
result.pageNumbers = result.pageNumbers || [];
await this.#processObsAndEmit(
this._manualRedactionService.recategorizeRedactions(
recategorizeBody,
@ -611,7 +606,6 @@ export class AnnotationActionsService {
redactions: AnnotationWrapper[],
dialogResult: RemoveRedactionResult,
): List<IRemoveRedactionRequest | IBulkLocalRemoveRequest> {
dialogResult.pageNumbers = dialogResult.pageNumbers || [];
if (dialogResult.bulkLocal || !!dialogResult.pageNumbers.length) {
return dialogResult.positions.map((position, index) => ({
value: redactions[index].value,

View File

@ -22,7 +22,6 @@ async function bootstrap(appConfig: AppConfig, version: { FRONTEND_APP_VERSION:
RULE_EDITOR_DEV_ONLY:
typeof ruleEditorDevOnly === 'string' ? ruleEditorDevOnly.toLowerCase() !== 'false' : ruleEditorDevOnly !== false,
FRONTEND_APP_VERSION: version.FRONTEND_APP_VERSION,
APP_NAME: appConfig.LANDING_PAGE_THEME === LANDING_PAGE_THEMES.MIXED ? 'Knecon Cloud' : isDocumine ? 'DocuMine' : 'RedactManager',
} as AppConfig;
console.log('Started with local config: ', config);
const appModule = appModuleFactory(config);

@ -1 +1 @@
Subproject commit 7f13fa62d3d2b346c609bc4978cff75f37f1ee6b
Subproject commit 4ed7215292cb4d00c9c94b94ec1e6bf1182146bf