diff --git a/config/navigation.json b/config/navigation.json index 7ae71b26..d37d08c1 100644 --- a/config/navigation.json +++ b/config/navigation.json @@ -113,16 +113,6 @@ "message": "Fines are charged for lost items." } }, - { - "title": "Favorites", - "description": "View items you've added to your favorites.", - "icon_name": "star", - "color": "maize", - "empty_state": { - "heading": "You haven't added any favorites.", - "message": "You can save items to appear here by selecting “Save to Favorites” when viewing an item record in Library Search." - } - }, { "title": "Settings", "description": "Review your contact information and update your account preferences.", diff --git a/lib/navigation/navigation.rb b/lib/navigation/navigation.rb index 6ea8790d..3a552ee3 100644 --- a/lib/navigation/navigation.rb +++ b/lib/navigation/navigation.rb @@ -1,6 +1,6 @@ class Navigation def self.cards - Entities::Pages.all[1, 6] + Entities::Pages.all[1, 5] end def self.home diff --git a/spec/lib/navigation/navigation_spec.rb b/spec/lib/navigation/navigation_spec.rb index b00e7be6..b8a6dd06 100644 --- a/spec/lib/navigation/navigation_spec.rb +++ b/spec/lib/navigation/navigation_spec.rb @@ -7,7 +7,7 @@ expect(subject.find { |x| x.title == "Account Overview" }).to be_nil end it "should have 6 elements" do - expect(subject.count).to eq(6) + expect(subject.count).to eq(5) end end context ".home" do diff --git a/spec/lib/navigation/sidebar_spec.rb b/spec/lib/navigation/sidebar_spec.rb index 6b1f20ed..8df7b96d 100644 --- a/spec/lib/navigation/sidebar_spec.rb +++ b/spec/lib/navigation/sidebar_spec.rb @@ -4,7 +4,7 @@ described_class.for("/") end it "has pages all top-level pages that are not hidden from the sidebar" do - expect(subject.pages.count).to eq(7) + expect(subject.pages.count).to eq(6) end it "has correct active page" do expect(subject.pages.first.active?).to eq(true)