Skip to content

Commit

Permalink
Fix broken link in the Overview page
Browse files Browse the repository at this point in the history
The 'Try our sample data' link in the opensearch dashboards
overview page is broken. It has to be pointed to the path
`/app/home#/tutorial_directory/sampleData`. This commit fixes
this bug. The snapshots are updated accordingly.

Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
  • Loading branch information
vchrombie committed Apr 27, 2021
1 parent af106be commit f81948c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 29 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,22 @@ export const AddData: FC<Props> = ({ addBasePath, features }) => {
</EuiFlexItem>

<EuiFlexItem className="osdOverviewDataAdd__actions" grow={false}>
<div>
<EuiButtonEmpty
className="osdOverviewDataAdd__actionButton"
flush="left"
href={addBasePath('#/tutorial_directory/sampleData')}
iconType="visTable"
size="xs"
>
<FormattedMessage
id="opensearchDashboardsOverview.addData.sampleDataButtonLabel"
defaultMessage="Try our sample data"
/>
</EuiButtonEmpty>
</div>
<RedirectAppLinks application={application}>
<div>
<EuiButtonEmpty
className="osdOverviewDataAdd__actionButton"
flush="left"
href={addBasePath('/app/home#/tutorial_directory/sampleData')}
iconType="visTable"
size="xs"
>
<FormattedMessage
id="opensearchDashboardsOverview.addData.sampleDataButtonLabel"
defaultMessage="Try our sample data"
/>
</EuiButtonEmpty>
</div>
</RedirectAppLinks>
</EuiFlexItem>
</EuiFlexGroup>

Expand Down

0 comments on commit f81948c

Please sign in to comment.