Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43c5c18

Browse filesBrowse files
committed
geosolutions-it#4739: Fix - Changing language the Tutorial doesn't work anymore
1 parent b77a710 commit 43c5c18
Copy full SHA for 43c5c18

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎web/client/components/tutorial/Tutorial.jsx‎

Copy file name to clipboardExpand all lines: web/client/components/tutorial/Tutorial.jsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Tutorial extends React.Component {
123123
checkAction: {}
124124
}
125125

126-
UNSAFE_componentWillMount() {
126+
componentDidMount() {
127127
let defaultSteps = this.props.presetList[this.props.preset] || [];
128128
let checkbox = this.props.showCheckbox ? <div id="tutorial-intro-checkbox-container"><input type="checkbox" id="tutorial-intro-checkbox" className="tutorial-tooltip-intro-checkbox" onChange={this.props.actions.onDisable}/><span><I18N.Message msgId={"tutorial.checkbox"}/></span></div> : <div id="tutorial-intro-checkbox-container"/>;
129129
this.props.actions.onSetup('default', defaultSteps, this.props.introStyle, checkbox, this.props.defaultStep, assign({}, this.props.presetList, {default_tutorial: defaultSteps}));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.