diff --git a/app/views/users/_work_opr.html.erb b/app/views/users/_work_opr.html.erb index eb5355246..e35ff1de2 100644 --- a/app/views/users/_work_opr.html.erb +++ b/app/views/users/_work_opr.html.erb @@ -1,11 +1,11 @@ <% work = cur_user_works_for_work activity %> <% if activity.work_type == 3 && User.current.contestant_of_contest?(activity.contest) && activity.work_detail_group.base_on_project %> <% projects = cur_user_projects_for_work activity %> - <% if work.nil? && projects.nil? && activity.work_status == 1 %> + <% if work.nil? && projects.nil? %>