Send info about exif/c2pa in the flags

This commit is contained in:
N-Pex 2025-09-23 16:10:28 +02:00
parent 7acc52ec92
commit 8f8ae3cae9
2 changed files with 7 additions and 3 deletions

View file

@ -18,9 +18,9 @@ const { multiple, flags } = defineProps<{
const showCheck = computed(() => {
if (!multiple && flags.length == 1) {
return flags[0].generatorSource === "c2pa";
return !!flags[0].containsC2PA;
} else if (multiple) {
return flags.some((f) => f.generatorSource === "c2pa")
return flags.every((f) => !!f.containsC2PA)
}
return false;
});