diff --git a/src/FilterLists.Web.V2/src/components/ListDetailsDrawer.tsx b/src/FilterLists.Web.V2/src/components/ListDetailsDrawer.tsx
index d1d15f286..203937a1e 100644
--- a/src/FilterLists.Web.V2/src/components/ListDetailsDrawer.tsx
+++ b/src/FilterLists.Web.V2/src/components/ListDetailsDrawer.tsx
@@ -10,11 +10,33 @@ interface Props {
list: List;
};
-export const ListDetailsDrawer = (props: RouteComponentProps & Props) =>
- props.history.push("/")}>
- {props.list.name}
-
-
- ;
\ No newline at end of file
+interface State {
+ baseDocumentTitle: string;
+}
+
+export class ListDetailsDrawer extends React.Component {
+ constructor(props: any) {
+ super(props);
+ this.state = {
+ baseDocumentTitle: document.title
+ };
+ }
+
+ componentDidMount() {
+ document.title = this.props.list.name + " | " + this.state.baseDocumentTitle
+ }
+
+ render() {
+ return this.props.history.push("/")}>
+ {this.props.list.name}
+
+
+
+ }
+
+ componentWillUnmount() {
+ document.title = this.state.baseDocumentTitle
+ }
+}
\ No newline at end of file