Skip to content

Commit

Permalink
Remove add sample data first time you run the app
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano authored and AlexRuiz7 committed Apr 19, 2023
1 parent 5e1516c commit 6f42424
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/home/public/application/components/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ export class Home extends Component {

componentDidMount() {
this._isMounted = true;
this.fetchIsNewOpenSearchDashboardsInstance();
// is commented and the skipWelcome function is added to avoid loading
// the add sample data page the first time the application is accessed.
// this.fetchIsNewOpenSearchDashboardsInstance();
this.skipWelcome();

const homeTitle = i18n.translate('home.breadcrumbs.homeTitle', { defaultMessage: 'Home' });
getServices().chrome.setBreadcrumbs([{ text: homeTitle }]);
Expand Down

0 comments on commit 6f42424

Please sign in to comment.