Hide Archive/Unarchive quick actions for groups and projects pending deletion
Summary
We should use the same logic as in Settings -> General -> Advanced (app/helpers/projects_helper.rb#L582) and not show the Archive/Unarchive quick actions when a project is pending deletion.
Implementation guide
- Check
!project.isSelfDeletionScheduledin app/assets/javascripts/vue_shared/components/projects_list/utils.js#L22- I wonder if we should change this to
!project.markedForDeletion(scheduled_for_deletion_in_hierarchy_chain?behind the scenes). I would think you shouldn't be able to archive a project that is pending deletion because of it's parent.
- I wonder if we should change this to
Edited by Peter Hegman
