Skip to content

citations dissapear when the same export format reselected #2780

Open
@szymonlopaciuk

Description

@szymonlopaciuk

When on the literature record page the user clicks cite and then reselects the same export format as has been selected, the citations disappear.

Expected Behaviour

If the same format is reselected, the bibliography should not change.

Current Behaviour

If the same format is reselected, the bibliography disappears.

Steps to Reproduce (for bugs)

  1. go to https://labs.inspirehep.net/literature/1624734
  2. click 'Cite'
  3. select 'BibTex'

OR

  1. go to https://labs.inspirehep.net/literature/1624734
  2. click 'Cite'
  3. select 'CV format (text)'
  4. select 'CV format (text)' again

Context

Current behaviour is confusing.

Screenshots (if appropriate):

1
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions