do not show export if keys are not present

This commit is contained in:
voldemort 2025-07-21 23:29:40 +07:00
parent d0154fd6c1
commit e03ca633de

View File

@ -144,13 +144,7 @@ function Results() {
// Export to JSON file
const hasData = () => {
return (
drmType ||
pssh ||
licenseUrl ||
manifestUrl ||
(Array.isArray(keys) && keys.filter((k) => k.type !== "SIGNING").length > 0)
);
return Array.isArray(keys) && keys.filter((k) => k.type !== "SIGNING").length > 0;
};
const handleExportJSON = () => {