Skip to content

Commit

Permalink
remove updater from start app
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jan 15, 2020
1 parent 1a8035e commit d6eccf7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/plugin_functional/plugins/core_app_status/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@ export class CoreAppStatusPlugin implements Plugin<{}, CoreAppStatusPluginStart>

public setup(core: CoreSetup, deps: {}) {
core.application.register({
id: 'app_status',
title: 'App Status',
euiIconType: 'snowflake',
updater$: this.appUpdater,
id: 'app_status_start',
title: 'App Status Start Page',
async mount(params: AppMountParameters) {
const { renderApp } = await import('./application');
return renderApp('app_status', params);
return renderApp('app_status_start', params);
},
});

core.application.register({
id: 'app_status_start',
title: 'App Status Start Page',
id: 'app_status',
title: 'App Status',
euiIconType: 'snowflake',
updater$: this.appUpdater,
async mount(params: AppMountParameters) {
const { renderApp } = await import('./application');
return renderApp('app_status_start', params);
return renderApp('app_status', params);
},
});

Expand Down

0 comments on commit d6eccf7

Please sign in to comment.