forked from tpd94/CDRM-Extension
do not show export if keys are not present
This commit is contained in:
parent
d0154fd6c1
commit
e03ca633de
@ -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 = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user