diff --git a/src/plugins/visualize/public/application/utils/get_table_columns.tsx b/src/plugins/visualize/public/application/utils/get_table_columns.tsx index 747b4761b6c0..3a34262c34f7 100644 --- a/src/plugins/visualize/public/application/utils/get_table_columns.tsx +++ b/src/plugins/visualize/public/application/utils/get_table_columns.tsx @@ -104,13 +104,7 @@ export const getTableColumns = (application: ApplicationStart, history: History) // In case an error occurs i.e. the vis has wrong type, we render the vis but without the link !error ? ( { - if (editApp) { - application.navigateToApp(editApp, { path: editUrl }); - } else if (editUrl) { - history.push(editUrl); - } - }} + href={editApp ? application.getUrlForApp(editApp, { path: editUrl }) : `#${editUrl}`} data-test-subj={`visListingTitleLink-${title.split(' ').join('-')}`} > {field}