From e03ca633de3236220d53a5100f844a324684054e Mon Sep 17 00:00:00 2001 From: voldemort <5692900+yell0wsuit@users.noreply.github.com> Date: Mon, 21 Jul 2025 23:29:40 +0700 Subject: [PATCH] do not show export if keys are not present --- frontend/src/components/results.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/components/results.jsx b/frontend/src/components/results.jsx index 7155419..4b60d67 100644 --- a/frontend/src/components/results.jsx +++ b/frontend/src/components/results.jsx @@ -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 = () => {