diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.html
index 0b47d44507..ecf5b10d36 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.html
@@ -9,6 +9,7 @@
*ngIf="canViewFileLinks$ | async"
class="op-tab-content--header"
>
+
@@ -23,7 +24,7 @@
class="op-tab-content--tab-section"
>
diff --git a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts
index f09dbc8e4f..b48676a7ca 100644
--- a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts
+++ b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.component.ts
@@ -48,6 +48,10 @@ import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destr
import { PrincipalsResourceService } from 'core-app/core/state/principals/principals.service';
import { PrincipalRendererService } from 'core-app/shared/components/principal/principal-renderer.service';
import idFromLink from 'core-app/features/hal/helpers/id-from-link';
+import { IFileIcon } from 'core-app/shared/components/file-links/file-link-icons/icon-mappings';
+import {
+ getIconForMimeType,
+} from 'core-app/shared/components/file-links/file-link-icons/file-link-list-item-icon.factory';
@Component({
// eslint-disable-next-line @angular-eslint/component-selector
@@ -80,6 +84,8 @@ export class AttachmentListItemComponent extends UntilDestroyedMixin implements
public timestampText:string;
+ public fileIcon:IFileIcon;
+
private viewInitialized$ = new BehaviorSubject(false);
constructor(
@@ -93,6 +99,8 @@ export class AttachmentListItemComponent extends UntilDestroyedMixin implements
}
ngOnInit():void {
+ this.fileIcon = getIconForMimeType(this.attachment.contentType);
+
const authorId = idFromLink(this.attachment._links.author.href);
if (!this.principalsResourceService.exists(authorId)) {
diff --git a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html
index 6d41e40009..c6bc6a6503 100644
--- a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html
+++ b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html
@@ -6,7 +6,7 @@
(dragstart)="setDragData($event)"
>