Fix crash for some C2PA images

Issue #688
This commit is contained in:
N-Pex 2025-10-15 15:43:33 +02:00
parent 3a9c8fae49
commit 40b104a527

View file

@ -31,7 +31,7 @@ const showCheck = computed(() => {
const infoText = computed(() => {
if (!multiple && flags.length == 1) {
return interventionText(t, flags[0]);
return interventionText(t, flags[0]) ?? "";
} else if (multiple && flags.length >= 1) {
const modifiedMedia = flags.some((f) => f.edits?.length);
const aiGeneratedMedia = flags.some((f) => f.generator === "ai");