Skip to content

Commit

Permalink
Change Preview to Download (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
asimregmi authored Dec 20, 2023
1 parent dc6d0c8 commit df09006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const DataFilesPreviewModal = () => {
target={fileType === 'other' ? '' : '_blank'}
>
<i className="icon-exit" />
<span className="toolbar-button-text">Preview File</span>
<span className="toolbar-button-text">Download File</span>
</Button>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ describe('Data Files Preview Modal', () => {
expect(getByText(/File Preview:/)).toBeDefined();
expect(getByText(/test\.txt/)).toBeDefined();
expect(getByText('Unable to show preview.')).toBeDefined();
expect(getByText(/Preview File/)).toBeDefined();
expect(getByText(/Download File/)).toBeDefined();
});
});

0 comments on commit df09006

Please sign in to comment.