Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ export class ArchivalProfileUnitApiService extends BaseHttpClient<ArchivalProfil
return super.patch(partialAgency, headers);
}

create(archivalUnitProfile: ArchivalProfileUnit, headers?: HttpHeaders): Observable<ArchivalProfileUnit> {
create(
archivalUnitProfile: ArchivalProfileUnit,
headers = new HttpHeaders({ [SKIP_ERROR_NOTIFICATION]: 1 }),
): Observable<ArchivalProfileUnit> {
return this.http.post<ArchivalProfileUnit>(this.apiUrl, archivalUnitProfile, { headers });
}

Expand Down
2 changes: 1 addition & 1 deletion ui/ui-frontend/projects/pastis/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"ASK_SUBROGATION": "The user {{ user }} requests a temporary access to your rights",
"ACCEPT_SUBROGATION": "Accept",
"DECLINE_SUBROGATION": "Decline",
"ERROR_WITH_LOGBOOK_OPERATION_ID": "See in logbook operation",
"ERROR_WITH_LOGBOOK_OPERATION_ID": "See in logbook operation: ({{content}})",
"ERROR_WITH_LOGBOOK_OPERATION_ID_BUTTON": "Go to logbook operation"
},
"ERROR_DIALOG": {
Expand Down
2 changes: 1 addition & 1 deletion ui/ui-frontend/projects/pastis/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"ASK_SUBROGATION": "L'utilisateur {{ user }} demande un accès temporaire à vos droits",
"ACCEPT_SUBROGATION": "Accepter",
"DECLINE_SUBROGATION": "Refuser",
"ERROR_WITH_LOGBOOK_OPERATION_ID": "Voir dans le journal des opérations",
"ERROR_WITH_LOGBOOK_OPERATION_ID": "Voir dans le journal des opérations : ({{content}})",
"ERROR_WITH_LOGBOOK_OPERATION_ID_BUTTON": "Aller au journal des opérations"
},
"ERROR_DIALOG": {
Expand Down
Loading