research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
27 stars 14 forks source link

Categories dropdown shown when there are no categories to select #1251

Closed cmeessen closed 3 months ago

cmeessen commented 4 months ago

In the software edit view, the categories dropdown is shown when there are no categories defined:

image

This dropdown is also shown, if only "highlighted" categories are defined.

Apart from that, the headline is not bold, unlike the other headlines. The EditSectionTitle in AutosaveSoftwareCategories is missing the font-medium class.

ewan-escience commented 4 months ago

Would you prefer to not have the section or to have a message saying there are no categories to choose from? @jmaassen what do you think?

cmeessen commented 3 months ago

I would prefer to not show the section at all.