Skip to content

Commit

Permalink
Adding URL support for WaffleOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Oct 1, 2018
1 parent aac34a1 commit 344f895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ interface WaffleOptionsUrlState {
nodeType?: ReturnType<typeof waffleOptionsSelectors.selectNodeType>;
}

export const WithWaffleMetricsUrlState = () => (
export const WithWaffleOptionsUrlState = () => (
<WithWaffleOptions>
{({ changeMetrics, urlState }) => (
<UrlStateContainer
Expand Down
2 changes: 2 additions & 0 deletions x-pack/plugins/infra/public/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { Header } from '../../components/header';
import { ColumnarPage } from '../../components/page';

import { WithWaffleFilterUrlState } from '../../containers/waffle/with_waffle_filters';
import { WithWaffleOptionsUrlState } from '../../containers/waffle/with_waffle_options';
import { WithWaffleTimeUrlState } from '../../containers/waffle/with_waffle_time';
import { WithKibanaChrome } from '../../containers/with_kibana_chrome';
import { WithSource } from '../../containers/with_source';
Expand All @@ -28,6 +29,7 @@ export class HomePage extends React.PureComponent {
<>
<WithWaffleTimeUrlState />
<WithWaffleFilterUrlState />
<WithWaffleOptionsUrlState />
<Header />
<HomeToolbar />
<HomePageContent />
Expand Down

0 comments on commit 344f895

Please sign in to comment.