Rename to WhatToWatch

This commit is contained in:
mjrode
2019-04-14 22:04:11 -05:00
parent 950f38eefc
commit a33bc3aa09
3 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>PlexRex</title>
<title>WhatToWatch</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@@ -37,7 +37,7 @@ class Header extends Component {
<nav style={{backgroundColor: '#f9a1bc'}}>
<div className="nav-wrapper" style={{margin: '0 10px'}}>
<Link to={this.props.auth ? '/' : '/'} className="left brand-logo">
PlexRex
WhatToWatch
</Link>
<ul className="right">{this.renderContent()}</ul>

View File

@@ -26,6 +26,7 @@ const addSeries = async (showName, user) => {
const body = await search(showName, user);
body.profileId = 1;
const rootFolder = await getRootFolder(user);
console.log(rootFolder);
body.rootFolderPath = JSON.parse(rootFolder)[0].path;
const params = {
baseUrl: user.sonarrUrl,