fix invalid link to actor overview page
add new start-header link to actor overview
This commit is contained in:
		@@ -19,7 +19,7 @@ describe('<App/>', function () {
 | 
			
		||||
    it('are navlinks correct', function () {
 | 
			
		||||
        const wrapper = shallow(<App/>);
 | 
			
		||||
        wrapper.setState({password: false});
 | 
			
		||||
        expect(wrapper.find('.navitem')).toHaveLength(4);
 | 
			
		||||
        expect(wrapper.find('.navitem')).toHaveLength(5);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('test render of password page', function () {
 | 
			
		||||
 
 | 
			
		||||
@@ -88,6 +88,13 @@ class App extends React.Component<{}, state> {
 | 
			
		||||
                    Categories
 | 
			
		||||
                </NavLink>
 | 
			
		||||
 | 
			
		||||
                <NavLink
 | 
			
		||||
                    className={[style.navitem, themeStyle.navitem].join(' ')}
 | 
			
		||||
                    to={'/media/actors'}
 | 
			
		||||
                    activeStyle={{opacity: '0.85'}}>
 | 
			
		||||
                    Actors
 | 
			
		||||
                </NavLink>
 | 
			
		||||
 | 
			
		||||
                {this.context.TVShowEnabled ? (
 | 
			
		||||
                    <NavLink
 | 
			
		||||
                        className={[style.navitem, themeStyle.navitem].join(' ')}
 | 
			
		||||
 
 | 
			
		||||
@@ -37,7 +37,7 @@ export class ActorPage extends React.Component<Props, state> {
 | 
			
		||||
            <>
 | 
			
		||||
                <PageTitle title={this.state.actor.Name} subtitle={this.state.data ? this.state.data.length + ' videos' : null}>
 | 
			
		||||
                    <span className={style.overviewbutton}>
 | 
			
		||||
                        <Link to='/actors'>
 | 
			
		||||
                        <Link to='/media/actors'>
 | 
			
		||||
                            <Button onClick={(): void => {}} title='Go to Actor overview' />
 | 
			
		||||
                        </Link>
 | 
			
		||||
                    </span>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user