Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4b56ce11 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Pull request #209: Add success message on certificate import

Merge in EDELIVERY/smp from bugfix/EDELIVERY-9328-a-successful-message-should-be-seen-after-added-a-trust-store-certificate to development

* commit 'eaec253fafa9422b4eed535d6c14c90f60d465e9':
  Add success message on certificate import
parents ff867bc0 8dd994f6
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ export class TruststoreEditDialogComponent {
const file = event.target.files[0];
this.truststoreService.uploadCertificate$(file).subscribe((res: CertificateRo) => {
if (res && res.certificateId) {
this.alertService.success("Certificate: " + res.certificateId + " is imported!");
this.lookups.refreshTrustedCertificateLookup();
} else {
this.alertService.exception("Error occurred while uploading certificate.", "Check if uploaded file has valid certificate type.", false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment