Fix file context menu not showing delete permanently option

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 1d69eb4a46
commit d316dfd471

@ -90,6 +90,7 @@ export class FileContextMenuComponent {
} }
private applyStatus() { private applyStatus() {
this.actionDeletePermantently = true;
for (const file of this.files) { for (const file of this.files) {
this.actionDeletePermantently &&= file.status === "Deleted"; this.actionDeletePermantently &&= file.status === "Deleted";
this.actionDelete ||= file.status !== "Deleted"; this.actionDelete ||= file.status !== "Deleted";

Loading…
Cancel
Save