RED-9201 - update config
This commit is contained in:
parent
13c1a2a0b0
commit
3dfe705da1
@ -71,7 +71,9 @@ export class ComponentMappingsScreenComponent extends ListingComponent<Component
|
|||||||
this._loadingService.start();
|
this._loadingService.start();
|
||||||
const { id, name, encoding, delimiter } = result;
|
const { id, name, encoding, delimiter } = result;
|
||||||
const newMapping = { id, name, encoding, delimiter };
|
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$());
|
await firstValueFrom(this.loadData$());
|
||||||
this._loadingService.stop();
|
this._loadingService.stop();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export class ComponentMappingsService extends EntitiesService<IComponentMapping,
|
|||||||
return this._http.get<IComponentMappingList>(`/api/dossier-templates/${dossierTemplateId}/component-mappings`);
|
return this._http.get<IComponentMappingList>(`/api/dossier-templates/${dossierTemplateId}/component-mappings`);
|
||||||
}
|
}
|
||||||
|
|
||||||
createComponentMapping(
|
createUpdateComponentMapping(
|
||||||
dossierTemplateId: string,
|
dossierTemplateId: string,
|
||||||
componentMapping: Partial<ComponentMapping>,
|
componentMapping: Partial<ComponentMapping>,
|
||||||
file: Blob,
|
file: Blob,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"ADMIN_CONTACT_URL": null,
|
"ADMIN_CONTACT_URL": null,
|
||||||
"API_URL": "https://dan1.iqser.cloud",
|
"API_URL": "https://dan1.iqser.cloud",
|
||||||
"APP_NAME": "RedactManager",
|
"APP_NAME": "RedactManager",
|
||||||
"IS_DOCUMINE": true,
|
"IS_DOCUMINE": false,
|
||||||
"RULE_EDITOR_DEV_ONLY": false,
|
"RULE_EDITOR_DEV_ONLY": false,
|
||||||
"AUTO_READ_TIME": 3,
|
"AUTO_READ_TIME": 3,
|
||||||
"BACKEND_APP_VERSION": "4.4.40",
|
"BACKEND_APP_VERSION": "4.4.40",
|
||||||
@ -18,8 +18,8 @@
|
|||||||
"SELECTION_MODE": "structural",
|
"SELECTION_MODE": "structural",
|
||||||
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview",
|
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview",
|
||||||
"ANNOTATIONS_THRESHOLD": 1000,
|
"ANNOTATIONS_THRESHOLD": 1000,
|
||||||
"THEME": "scm",
|
"THEME": "redact",
|
||||||
"BASE_TRANSLATIONS_DIRECTORY": "/assets/i18n/scm/",
|
"BASE_TRANSLATIONS_DIRECTORY": "/assets/i18n/redact/",
|
||||||
"AVAILABLE_NOTIFICATIONS_DAYS": 30,
|
"AVAILABLE_NOTIFICATIONS_DAYS": 30,
|
||||||
"AVAILABLE_OLD_NOTIFICATIONS_MINUTES": 60,
|
"AVAILABLE_OLD_NOTIFICATIONS_MINUTES": 60,
|
||||||
"NOTIFICATIONS_THRESHOLD": 1000,
|
"NOTIFICATIONS_THRESHOLD": 1000,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user