Skip to content

Commit

Permalink
review nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Apr 16, 2020
1 parent d4831e1 commit 55603db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ export class DashboardStateManager {
if (state.viewMode === ViewMode.VIEW) {
const { panels, ...stateWithoutPanels } = state;
return stateWithoutPanels;
} else {
return state;
}

return state;
}
}
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/maps/embeddable/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function({ getPageObjects, getService }) {
});

// see https://github.com/elastic/kibana/issues/61596 on why it is specific to maps
it("dashboard's back button should work", async () => {
it("dashboard's back button should navigate to previous page", async () => {
await PageObjects.common.navigateToApp('dashboard');
await PageObjects.dashboard.preserveCrossAppState();
await PageObjects.dashboard.loadSavedDashboard('map embeddable example');
Expand Down

0 comments on commit 55603db

Please sign in to comment.