Lil fix
This commit is contained in:
@@ -266,7 +266,7 @@ export class AppComponent implements OnInit {
|
|||||||
|
|
||||||
isDecryptable(res: any) {
|
isDecryptable(res: any) {
|
||||||
if (!res.defaultKID || res.defaultKID.length === 0)
|
if (!res.defaultKID || res.defaultKID.length === 0)
|
||||||
return false;
|
return true;
|
||||||
const keys = this.parseKeys(this.processingForm.value.keys);
|
const keys = this.parseKeys(this.processingForm.value.keys);
|
||||||
return keys.find(k => k.key.toLowerCase() === res.defaultKID.toLowerCase());
|
return keys.find(k => k.key.toLowerCase() === res.defaultKID.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user