Skip to content

Commit

Permalink
tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Sep 18, 2024
1 parent 122b158 commit 17f90d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/plugins/dashboard/public/dashboard_api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
import {
HasAppContext,
HasType,
HasUniqueId,
PublishesDataViews,
PublishesPanelDescription,
PublishesPanelTitle,
Expand All @@ -39,6 +40,7 @@ export type DashboardApi = CanExpandPanels &
HasRuntimeChildState &
HasSerializedChildState &
HasType<'dashboard'> &
HasUniqueId &
PresentationContainer &
PublishesDataViews &
PublishesPanelDescription &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import './_dashboard_top_nav.scss';
import { DashboardRedirect } from '../dashboard_container/types';
import { SaveDashboardReturn } from '../services/dashboard_content_management/types';
import { useDashboardApi } from '../dashboard_api/use_dashboard_api';
import { openSettingsFlyout } from '../dashboard_container/embeddable/api';

export interface InternalDashboardTopNavProps {
customLeadingBreadCrumbs?: EuiBreadcrumb[];
Expand Down Expand Up @@ -188,7 +189,7 @@ export function InternalDashboardTopNav({
size="s"
type="pencil"
className="dshTitleBreadcrumbs__updateIcon"
onClick={() => dashboardApi.openSettingsFlyout()}
onClick={() => openSettingsFlyout(dashboardApi)}
/>
</>
) : (
Expand Down

0 comments on commit 17f90d9

Please sign in to comment.