From 773a6186c50a912ab098e62a83d3811bf55f1150 Mon Sep 17 00:00:00 2001
From: Albert <Albert.Bruns@mgm-tp.com>
Date: Thu, 17 Apr 2025 15:33:10 +0200
Subject: [PATCH] OZG-3563 spinner missing

---
 .../binary-file-list/binary-file-list.component.html            | 2 ++
 .../binary-file-list/binary-file-list.component.spec.ts         | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.html b/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.html
index a4ee6adc69..21e21bea57 100644
--- a/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.html
+++ b/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.html
@@ -23,6 +23,7 @@
     unter der Lizenz sind dem Lizenztext zu entnehmen.
 
 -->
+<ozgcloud-spinner [stateResource]="binaryFileListStateResource">
 @if (binaryFileListStateResource.resource | toEmbeddedResources: binaryFileListLinkRel.FILE_LIST; as binaryFileList) {
   @if (binaryFileList.length) {
     <ods-attachment-wrapper data-test-id="binary-file-list-wrapper">
@@ -33,3 +34,4 @@
     </ods-attachment-wrapper>
   }
 }
+</ozgcloud-spinner>
diff --git a/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.spec.ts b/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.spec.ts
index 354a9d2be5..eb1f16c282 100644
--- a/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.spec.ts
+++ b/alfa-client/libs/binary-file/src/lib/binary-file-list-container/binary-file-list/binary-file-list.component.spec.ts
@@ -24,6 +24,7 @@
 import { BinaryFileListResource, BinaryFileResource } from '@alfa-client/binary-file-shared';
 import { createStateResource, StateResource, ToEmbeddedResourcesPipe } from '@alfa-client/tech-shared';
 import { existsAsHtmlElement, getMockComponent, notExistsAsHtmlElement } from '@alfa-client/test-utils';
+import { SpinnerComponent } from '@alfa-client/ui';
 import { ComponentFixture, TestBed } from '@angular/core/testing';
 import { AttachmentWrapperComponent } from '@ods/system';
 import { createBinaryFileListResource, createBinaryFileResource } from 'libs/binary-file-shared/test/binary-file';
@@ -51,6 +52,7 @@ describe('BinaryFileListComponent', () => {
         ToEmbeddedResourcesPipe,
         MockComponent(BinaryFile2ContainerComponent),
         MockComponent(AttachmentWrapperComponent),
+        MockComponent(SpinnerComponent),
         MockDirective(BinaryFileListOrientationDirective),
       ],
     }).compileComponents();
-- 
GitLab