From 12dc8427aa4c8a025d034f298f6cd1915452c747 Mon Sep 17 00:00:00 2001 From: lukas Date: Mon, 20 Dec 2021 17:10:34 +0100 Subject: [PATCH] fix invalid link to actor overview page add new start-header link to actor overview --- src/App.test.js | 2 +- src/App.tsx | 7 +++++++ src/pages/ActorPage/ActorPage.tsx | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/App.test.js b/src/App.test.js index 704d591..fbad0a8 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -19,7 +19,7 @@ describe('', function () { it('are navlinks correct', function () { const wrapper = shallow(); wrapper.setState({password: false}); - expect(wrapper.find('.navitem')).toHaveLength(4); + expect(wrapper.find('.navitem')).toHaveLength(5); }); it('test render of password page', function () { diff --git a/src/App.tsx b/src/App.tsx index 3ca0d47..12cd7de 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -88,6 +88,13 @@ class App extends React.Component<{}, state> { Categories + + Actors + + {this.context.TVShowEnabled ? ( { <> - +