Improve Title when TeamName is empty

This commit is contained in:
Matheus Breguêz
2020-07-01 08:56:49 -03:00
parent c8269ca134
commit 2b7639c903
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ class Layout extends React.Component<Props> {
return (
<Container column auto>
<Helmet>
<title>{team.name}</title>
<title>{team.name | "Outline"}</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"

View File

@@ -14,7 +14,7 @@ const { team } = auth;
const PageTitle = ({ title, favicon }: Props) => (
<Helmet>
<title>{`${title} - ${team.name}`}</title>
<title>{`${title} - ${team.name}` | `${title} - Outline`}</title>
<link
rel="shortcut icon"
type="image/png"