Skip to content
Snippets Groups Projects
Commit 773a6186 authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-3563 spinner missing

parent 843a69cc
No related branches found
No related tags found
1 merge request!129OZG-3563-anbindung-resourceservice-kommentar-shared
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
unter der Lizenz sind dem Lizenztext zu entnehmen. unter der Lizenz sind dem Lizenztext zu entnehmen.
--> -->
<ozgcloud-spinner [stateResource]="binaryFileListStateResource">
@if (binaryFileListStateResource.resource | toEmbeddedResources: binaryFileListLinkRel.FILE_LIST; as binaryFileList) { @if (binaryFileListStateResource.resource | toEmbeddedResources: binaryFileListLinkRel.FILE_LIST; as binaryFileList) {
@if (binaryFileList.length) { @if (binaryFileList.length) {
<ods-attachment-wrapper data-test-id="binary-file-list-wrapper"> <ods-attachment-wrapper data-test-id="binary-file-list-wrapper">
...@@ -33,3 +34,4 @@ ...@@ -33,3 +34,4 @@
</ods-attachment-wrapper> </ods-attachment-wrapper>
} }
} }
</ozgcloud-spinner>
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
import { BinaryFileListResource, BinaryFileResource } from '@alfa-client/binary-file-shared'; import { BinaryFileListResource, BinaryFileResource } from '@alfa-client/binary-file-shared';
import { createStateResource, StateResource, ToEmbeddedResourcesPipe } from '@alfa-client/tech-shared'; import { createStateResource, StateResource, ToEmbeddedResourcesPipe } from '@alfa-client/tech-shared';
import { existsAsHtmlElement, getMockComponent, notExistsAsHtmlElement } from '@alfa-client/test-utils'; import { existsAsHtmlElement, getMockComponent, notExistsAsHtmlElement } from '@alfa-client/test-utils';
import { SpinnerComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AttachmentWrapperComponent } from '@ods/system'; import { AttachmentWrapperComponent } from '@ods/system';
import { createBinaryFileListResource, createBinaryFileResource } from 'libs/binary-file-shared/test/binary-file'; import { createBinaryFileListResource, createBinaryFileResource } from 'libs/binary-file-shared/test/binary-file';
...@@ -51,6 +52,7 @@ describe('BinaryFileListComponent', () => { ...@@ -51,6 +52,7 @@ describe('BinaryFileListComponent', () => {
ToEmbeddedResourcesPipe, ToEmbeddedResourcesPipe,
MockComponent(BinaryFile2ContainerComponent), MockComponent(BinaryFile2ContainerComponent),
MockComponent(AttachmentWrapperComponent), MockComponent(AttachmentWrapperComponent),
MockComponent(SpinnerComponent),
MockDirective(BinaryFileListOrientationDirective), MockDirective(BinaryFileListOrientationDirective),
], ],
}).compileComponents(); }).compileComponents();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment