diff --git a/mediarepo-ui/src/app/components/shared/file/file-context-menu/file-context-menu.component.ts b/mediarepo-ui/src/app/components/shared/file/file-context-menu/file-context-menu.component.ts index b65e4d3..9db4dcf 100644 --- a/mediarepo-ui/src/app/components/shared/file/file-context-menu/file-context-menu.component.ts +++ b/mediarepo-ui/src/app/components/shared/file/file-context-menu/file-context-menu.component.ts @@ -90,6 +90,7 @@ export class FileContextMenuComponent { } private applyStatus() { + this.actionDeletePermantently = true; for (const file of this.files) { this.actionDeletePermantently &&= file.status === "Deleted"; this.actionDelete ||= file.status !== "Deleted";