Skip to content

Commit 2f7cdc4

Browse files
committed
Do not change title if update_title is null
1 parent 28630d9 commit 2f7cdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash-renderer/src/components/core/DocumentTitle.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DocumentTitle extends Component {
1313
}
1414

1515
UNSAFE_componentWillReceiveProps(props) {
16-
if (props.pendingCallbacks.length) {
16+
if (this.state.update_title && props.pendingCallbacks.length) {
1717
document.title = this.state.update_title;
1818
} else {
1919
document.title = this.state.initialTitle;

0 commit comments

Comments
 (0)