Add flag to remove default Description
nf-s opened this issue · comments
There is a default description:
![image](https://private-user-images.githubusercontent.com/6187649/277532013-02aa2b82-67d4-4c7b-8520-05afab3e9739.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDEwNDExNjgsIm5iZiI6MTcwMTA0MDg2OCwicGF0aCI6Ii82MTg3NjQ5LzI3NzUzMjAxMy0wMmFhMmI4Mi02N2Q0LTRjN2ItODUyMC0wNWFmYWIzZTk3MzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTEyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzExMjZUMjMyMTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGYyNzM1ZjdlOWY0YjY1NDg1NDYwMjFlZjI1YTE5YmU5NjRmNzJkZTNmNzQ2ZDIwYzU2ZTNhOGZjMjRhMjE0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fgcsEhnr1mHyhvSmNzN7A-dQ7qTHB7fcyqUs-faW9LE)
This is shown if there is no description (and data is not local)
terriajs/lib/ReactViews/Preview/Description.jsx
Lines 66 to 70 in 493c992
Add a flag/trait called hideDefaultDescription
to CatalogMemberTraits