Skip to content

Commit 5538d56

Browse files
authored
Insights - fix window title (#1799)
Issue: AAH-1439
1 parent c941f22 commit 5538d56

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
globals: {
2626
// overridden in test/.eslintrc
27+
APPLICATION_NAME: "readonly",
2728
NAMESPACE_TERM: "readonly",
2829
},
2930
rules: {

CHANGES/1439.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Insights - fix window title

src/loaders/insights/insights-loader.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class App extends Component {
2727
componentDidMount() {
2828
window.insights.chrome.init();
2929
window.insights.chrome.identifyApp('automation-hub');
30+
document.title = APPLICATION_NAME; // change window title from automationHub
3031

3132
// This listens for insights navigation events, so this will fire
3233
// when items in the nav are clicked or the app is loaded for the first

0 commit comments

Comments
 (0)