Skip to content

Commit

Permalink
[Home] Adding upload data link to home page (#117129) (#117336)
Browse files Browse the repository at this point in the history
* [Home] Adding upload data link to home page

* renaming link

Co-authored-by: James Gowdy <[email protected]>
  • Loading branch information
kibanamachine and jgowdyelastic authored Nov 4, 2021
1 parent e57cb4e commit ff3c0d4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 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 @@ -96,6 +96,19 @@ export const AddData: FC<Props> = ({ addBasePath, application, isDarkMode }) =>
/>
</EuiButtonEmpty>
</EuiFlexItem>

<EuiFlexItem grow={false}>
<EuiButtonEmpty
data-test-subj="uploadFile"
href={addBasePath('#/tutorial_directory/fileDataViz')}
iconType="importAction"
>
<FormattedMessage
id="home.addData.uploadFileButtonLabel"
defaultMessage="Upload a file"
/>
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>

Expand Down

0 comments on commit ff3c0d4

Please sign in to comment.