Skip to content

Commit

Permalink
remove the additional Recent Activity from the bottome of the Adminis…
Browse files Browse the repository at this point in the history
…tration tab (#1304)
  • Loading branch information
carolyncole authored Feb 11, 2025
1 parent ef258b1 commit 1ee0446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions app/views/dashboard/_admin_listing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
<p> (none) </p>
<% end %>
</div>
<% unless current_user.superuser? %>
<%= render partial: "recent_activity" %>
<% end %>
<%end%>
</div>
3 changes: 2 additions & 1 deletion spec/system/dashboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@
click_on "Administration"
expect(page).to have_content("Pending Projects")
expect(page).to have_content("Approved Projects")
expect(page).to have_content("Activity")
expect(page).to have_content "project 111"
expect(page).to have_content "project 444"
end

it "renders the 'Administration' tab" do
Expand Down

0 comments on commit 1ee0446

Please sign in to comment.