Skip to content

Commit

Permalink
Merge branch 'main' into bug/WP-379
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondsgarrett authored Dec 20, 2023
2 parents 1dc28e9 + df09006 commit 2855641
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 2855641

Please sign in to comment.