forked from jsnbuchanan/crowd-funder-for-time-pwa
fix problem clicking on offer-delivery, plus some other hardening and phrasing
This commit is contained in:
@@ -416,8 +416,10 @@ export function offerGiverDid(
|
||||
*/
|
||||
export const canFulfillOffer = (
|
||||
veriClaim: GenericCredWrapper<GenericVerifiableCredential>,
|
||||
isRegistered: boolean,
|
||||
) => {
|
||||
return (
|
||||
isRegistered &&
|
||||
veriClaim.claimType === "Offer" &&
|
||||
!!offerGiverDid(veriClaim as GenericCredWrapper<OfferClaim>)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user