Currently the link for viewing archived projects is displayed on load when the statistics contain at least one archived project, or when a project is archived.
The statistics object is updated when a task is changed, it should also be updated when a project is changed too. Then, this should be bound to update when the statistics is updated.
Currently the link for viewing archived projects is displayed on load when the statistics contain at least one archived project, or when a project is archived.
See dashboard.js - updateArchivedProjectsLink() and hub-form.js - _onArchive()
The statistics object is updated when a task is changed, it should also be updated when a project is changed too. Then, this should be bound to update when the statistics is updated.