diff --git a/app/components/Layout.js b/app/components/Layout.js index 6ae688f9..82bbabaf 100644 --- a/app/components/Layout.js +++ b/app/components/Layout.js @@ -97,7 +97,7 @@ class Layout extends React.Component { return ( - {`${team.name} | Outline` | "Outline"} + {team.name ? `${team.name} | Outline` : "Outline"} ( - {`${title} - ${team.name} | Outline` | `${title} - Outline`} + + {team.name ? `${title} - ${team.name} | Outline` : `${title} - Outline`} + ( /> -); +)); export default inject("auth")(PageTitle);