diff --git a/app/components/Layout.js b/app/components/Layout.js index d5403e214..4da00c399 100644 --- a/app/components/Layout.js +++ b/app/components/Layout.js @@ -97,7 +97,7 @@ class Layout extends React.Component { return ( - Outline + {team ? `${team.name} – Outline` : "Outline"} ( +const { auth } = this.props; +const { team } = auth; + +const PageTitle = observer(({ auth, title, favicon }: Props) => ( - {`${title} - Outline`} + + {team ? `${title} - ${team.name} - Outline` : `${title} - Outline`} + ( /> -); +)); -export default PageTitle; +export default inject("auth")(PageTitle);