Skip to content
Snippets Groups Projects
Commit bd661242 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-6364 Show button only if there is uri' (#712) from...

Merge pull request 'OZG-6364 Show button only if there is uri' (#712) from OZG-6364-fix-download-archive into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/alfa/pulls/712


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents a951f148 8de76a2a
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
data-test-id="file-list-header" data-test-id="file-list-header"
> >
<alfa-download-archive-file-button-container <alfa-download-archive-file-button-container
*ngIf="archiveDownloadUri"
data-test-class="download-archive-file-button" data-test-class="download-archive-file-button"
[downloadUri]="archiveDownloadUri" [downloadUri]="archiveDownloadUri"
action-buttons action-buttons
......
...@@ -137,6 +137,10 @@ describe('VerticalBinaryFileListComponent', () => { ...@@ -137,6 +137,10 @@ describe('VerticalBinaryFileListComponent', () => {
}); });
describe('download archive button', () => { describe('download archive button', () => {
beforeEach(() => {
component.title = 'Test title';
});
const downloadUri: ResourceUri = faker.internet.url(); const downloadUri: ResourceUri = faker.internet.url();
it('should be visible if uri exists', () => { it('should be visible if uri exists', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment