RED-9201 - update config

This commit is contained in:
Valentin Mihai 2024-06-06 18:39:31 +03:00
parent 13c1a2a0b0
commit 3dfe705da1
3 changed files with 7 additions and 5 deletions

View File

@ -71,7 +71,9 @@ export class ComponentMappingsScreenComponent extends ListingComponent<Component
this._loadingService.start();
const { id, name, encoding, delimiter } = result;
const newMapping = { id, name, encoding, delimiter };
await firstValueFrom(this._componentMappingService.createComponentMapping(this.#dossierTemplateId, newMapping, result.file));
await firstValueFrom(
this._componentMappingService.createUpdateComponentMapping(this.#dossierTemplateId, newMapping, result.file),
);
await firstValueFrom(this.loadData$());
this._loadingService.stop();
}

View File

@ -19,7 +19,7 @@ export class ComponentMappingsService extends EntitiesService<IComponentMapping,
return this._http.get<IComponentMappingList>(`/api/dossier-templates/${dossierTemplateId}/component-mappings`);
}
createComponentMapping(
createUpdateComponentMapping(
dossierTemplateId: string,
componentMapping: Partial<ComponentMapping>,
file: Blob,

View File

@ -3,7 +3,7 @@
"ADMIN_CONTACT_URL": null,
"API_URL": "https://dan1.iqser.cloud",
"APP_NAME": "RedactManager",
"IS_DOCUMINE": true,
"IS_DOCUMINE": false,
"RULE_EDITOR_DEV_ONLY": false,
"AUTO_READ_TIME": 3,
"BACKEND_APP_VERSION": "4.4.40",
@ -18,8 +18,8 @@
"SELECTION_MODE": "structural",
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview",
"ANNOTATIONS_THRESHOLD": 1000,
"THEME": "scm",
"BASE_TRANSLATIONS_DIRECTORY": "/assets/i18n/scm/",
"THEME": "redact",
"BASE_TRANSLATIONS_DIRECTORY": "/assets/i18n/redact/",
"AVAILABLE_NOTIFICATIONS_DAYS": 30,
"AVAILABLE_OLD_NOTIFICATIONS_MINUTES": 60,
"NOTIFICATIONS_THRESHOLD": 1000,