Skip to content
Snippets Groups Projects
Commit 73b843e1 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse: Handle core SWHIDs when querying citation endpoint client side

When browsing an archived object without any context (a plain revision for
instance), the javascript variable swhid_with_context_url is null so the
code computing parameter for the Web API citation endpoint was raising an
exception.

Spotted thanks to the cypress tests execution on Jenkins.
parent 2b39faf8
No related branches found
No related tags found
No related merge requests found
Loading
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