Remove evidence file deletion and guard missing file

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-10-08 17:49:09 +02:00
parent b7b684ecbc
commit 39ed524f4f
3 changed files with 11 additions and 29 deletions

View File

@@ -212,7 +212,7 @@ function EvidenceRow(props: {
__(
'This will permanently delete the evidence "%s". This action cannot be undone.'
),
evidence.file?.fileName
evidence.file?.fileName || __("Link evidence")
),
}
);