Skip to content
Snippets Groups Projects
Commit 627cb667 authored by Tom Robinson's avatar Tom Robinson
Browse files

Disable tutorial back button for now

parent ccb79913
Branches
Tags
No related merge requests found
......@@ -2,6 +2,8 @@ import React, { Component, PropTypes } from "react";
import Icon from "metabase/components/Icon.jsx";
const ENABLE_BACK_BUTTON = false; // disabled due to possibility of getting in inconsistent states
export default class TutorialModal extends Component {
render() {
const { modalStepIndex, modalStepCount } = this.props;
......@@ -16,7 +18,7 @@ export default class TutorialModal extends Component {
{this.props.children}
</div>
<div className="flex">
{ modalStepIndex > 0 &&
{ ENABLE_BACK_BUTTON && modalStepIndex > 0 &&
<a className="text-grey-4 cursor-pointer" onClick={this.props.onBack}>back</a>
}
<span className="text-grey-4 flex-align-right">{modalStepIndex + 1} of {modalStepCount}</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment