Lil fix
All checks were successful
ci / Image build (push) Successful in 2m11s
ci / Deployment (push) Successful in 8s

This commit is contained in:
Joris Bertomeu
2025-08-26 11:32:38 +02:00
parent 4375b5e124
commit 3dac693492

View File

@@ -266,7 +266,7 @@ export class AppComponent implements OnInit {
isDecryptable(res: any) {
if (!res.defaultKID || res.defaultKID.length === 0)
return false;
return true;
const keys = this.parseKeys(this.processingForm.value.keys);
return keys.find(k => k.key.toLowerCase() === res.defaultKID.toLowerCase());
}