Lil fix
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user