diff options
author | Renard | 2019-09-16 13:55:25 -0300 |
---|---|---|
committer | Renard | 2019-09-16 13:55:25 -0300 |
commit | eaba5936e4654fd370af11dda79e3af213b4e04c (patch) | |
tree | 1993c1641ded27aec97538ff835aa953e8148202 | |
parent | 542d536dab627c9fd24ec0d440b0106d71153258 (diff) | |
download | bai-client-eaba5936e4654fd370af11dda79e3af213b4e04c.tar.gz bai-client-eaba5936e4654fd370af11dda79e3af213b4e04c.tar.xz bai-client-eaba5936e4654fd370af11dda79e3af213b4e04c.zip |
Titulos
-rw-r--r-- | src/Board.js | 1 | ||||
-rw-r--r-- | src/Home.js | 1 | ||||
-rw-r--r-- | src/Thread.js | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/Board.js b/src/Board.js index 31174e2..1e1d8b5 100644 --- a/src/Board.js +++ b/src/Board.js @@ -76,6 +76,7 @@ class Board extends Component { const currentBoard = this.props.boardList.find(board => { return board.dir === this.props.dir; }); + document.title = currentBoard.name + " - B.a.I"; return ( <React.Fragment> diff --git a/src/Home.js b/src/Home.js index 665a7a5..4069f0d 100644 --- a/src/Home.js +++ b/src/Home.js @@ -60,6 +60,7 @@ class Home extends Component { } const { newThreadsList, lastAgeThreads, latestNews } = this.state; + document.title = "B.a.I Home"; return ( <Grid columns={2} divided container doubling> diff --git a/src/Thread.js b/src/Thread.js index 3a964b5..e4694b7 100644 --- a/src/Thread.js +++ b/src/Thread.js @@ -127,11 +127,11 @@ class Thread extends Component { locked, id } = this.state.thread; - document.title = subject; const currentBoard = this.props.boardList.find(board => { return board.dir === this.props.dir; }); + document.title = subject + " - " + currentBoard.name + "@B.a.I"; return ( <React.Fragment> |