diff --git a/src/plugins/home/public/application/components/home.js b/src/plugins/home/public/application/components/home.js index 54c3f48ce9b8..01e2f93fc67a 100644 --- a/src/plugins/home/public/application/components/home.js +++ b/src/plugins/home/public/application/components/home.js @@ -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 }]);