frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Units for a list of values not displayed in the tree view

Open jkotan opened this issue 2 years ago • 0 comments

Summary

Units for a list of values are not displayed in the tree view. It looks weird in the scientificMetadata where 0D and 1D values are present.

treeview_frontend

Steps to Reproduce

Ingest scientificMetadata with list value e.g.

{
  "stth":
    {
      "value" : [0.1, 0.2, 0.3, 0.4],
      "unit": "deg"
    }
}

e.g. json_view_frontend

Current Behaviour

Units for 1D values are not displayed

Expected Behaviour

Units for 1D values should be displayed in a bracket as for 0D values

jkotan avatar Nov 24 '22 07:11 jkotan