GH-1312 - Update title when running a plugin (#1317)

* Update title when running a plugin

* Update webapp/src/pages/boardPage.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
This commit is contained in:
Scott Bishel 2021-09-28 07:50:23 -06:00 committed by GitHub
parent 6c6351dae8
commit cbfb4cb36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,6 +131,8 @@ const BoardPage = (props: Props) => {
title += ` | ${activeView.title}`
}
document.title = title
} else if (Utils.isFocalboardPlugin()) {
document.title = 'Boards - Mattermost'
} else {
document.title = 'Focalboard'
}