sennetconsortium / portal-ui

0 stars 1 forks source link

Enable `View JSON` button in the edit page for public Samples #1714

Closed maxsibilla closed 1 week ago

maxsibilla commented 1 week ago

See as an example: https://data.sennetconsortium.org/edit/sample?uuid=08190f0e64e5862ab6aebdf0bf3c6de5/ Image

We currently have a piece of JS code that will disable all buttons on published/public entities as they cannot be edited any further once they reach this state. We need to make an exception for the "View JSON" button on public Block Samples with RUI spatial data.