Removing a indicator progress - Vanuatu-National-Statistics-Office/vnso-nsdp-platform GitHub Wiki

To completely remove the "progress" section from an indicator, simply delete the corresponding file in this folder: https://github.com/Vanuatu-National-Statistics-Office/vnso-nsdp-platform/tree/develop/progress

Removing a single year

If you instead would like to leave the progress there, but just remove one year, you will need to edit the corresponding file and then remove that year from the years list. For example you might change this...

progress:
  - target: progress.target1
    years:
      - year: 2021
        status: progress.cloudy
        image: cloudy.png
      - year: 2022
        status: progress.sunny
        image: sunny.png

..to this:

progress:
  - target: progress.target1
    years:
      - year: 2021
        status: progress.cloudy
        image: cloudy.png