Closed sorja closed 9 months ago
Describe the bug Bug: https://github.com/openforis/fra-platform/blob/9a7a83ab8540fa450be9b46ec6f59316a1b572d0/src/client/pages/Section/SectionHeader/ForestCharacteristics/ForestCharacteristics.tsx#L23-L26
hasOriginalDataPointData is always false if ODPs disabled: ODPs are not fetched Check if this is correct
hasOriginalDataPointData
false
So we currently return 'null' and not the button if the ODP has no data (...=doesn't have the data that is never fetched in the first place!)
To Reproduce Steps to reproduce the behavior:
Expected behavior Button is there
@sorja unable to reproduce. can u provide a video with use case ?
Unable to replicate, maybe it was solved
Describe the bug Bug: https://github.com/openforis/fra-platform/blob/9a7a83ab8540fa450be9b46ec6f59316a1b572d0/src/client/pages/Section/SectionHeader/ForestCharacteristics/ForestCharacteristics.tsx#L23-L26
hasOriginalDataPointData
is alwaysfalse
if ODPs disabled: ODPs are not fetched Check if this is correctSo we currently return 'null' and not the button if the ODP has no data (...=doesn't have the data that is never fetched in the first place!)
To Reproduce Steps to reproduce the behavior:
Expected behavior Button is there