Skip to content

Commit

Permalink
feat(bulk): Show error message from API in bulk (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsSelbekk authored Aug 24, 2023
1 parent c9c9a55 commit 041535f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/bulk-collection/bulk-collection.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ export class BulkCollectionComponent implements OnInit {
this._toasterService.add(
"WARNING",
{
text: "Tilkoblingen ble brutt! Vennligst prøv igjen.",
text:
error.msg ??
"Tilkoblingen ble brutt! Vennligst prøv igjen.",
},
15000
);
Expand Down

1 comment on commit 041535f

@vercel
Copy link

@vercel vercel bot commented on 041535f Aug 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bl-admin – ./

bladmin.boklisten.no
bl-admin-git-production-boklisten.vercel.app
bl-admin-boklisten.vercel.app

Please sign in to comment.