colouring-cities / colouring-dresden

GNU General Public License v3.0
0 stars 5 forks source link

Bug: category "age"... if data source is collected... hidden UI elements in data container will be shown #52

Closed traveller195 closed 1 year ago

traveller195 commented 1 year ago

Describe the problem If a data source is filled in for age, the UI elements - which were commented out for some reasons - will be shown in the data container... compare https://colouring.dresden.ioer.de/edit/age/45520 they must be removed/ commented out as well!

traveller195 commented 1 year ago

the visible/ returned GUI element depending on an if case...

    if (props.building.date_source == "Expert knowledge of building" ||
        props.building.date_source == "Expert estimate from image" ||
        props.building.date_source == null
       ){
      return (

      )
    return (

    )
traveller195 commented 1 year ago

now, this was fixed

bbb930842c7c7def90b192d450a5157f912af36a