atom icon indicating copy to clipboard operation
atom copied to clipboard

Fix accession type option in clipboard export

Open danloveg opened this issue 2 months ago • 1 comments

Closes #2221 Closes #2222

These issues are closely related so I addressed them both in this PR.

There is some JS that watches for changes in the Type selector on the clipboard export page, and "accession" was not one of the expected types, so it always fell back to "informationObject". This is why it wasn't possible to select the Accession option.

And now I'm only showing the Accession option in that dropdown when the user is an editor or admin.

danloveg avatar Dec 05 '25 16:12 danloveg

Looks like a network issue cause the Electron integration tests to fail. I don't have permission to retry the job but I'd expect it to succeed if it was retried

danloveg avatar Dec 05 '25 16:12 danloveg