From c8b3e5bae5795905dc7a6ef7617f57630219edac Mon Sep 17 00:00:00 2001 From: Phillip Lang Martinez Date: Thu, 1 Sep 2022 01:33:22 +0300 Subject: [PATCH] add length --- qortal-ui-core/src/components/start-minting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qortal-ui-core/src/components/start-minting.js b/qortal-ui-core/src/components/start-minting.js index c35bbe4e..0ccd4908 100644 --- a/qortal-ui-core/src/components/start-minting.js +++ b/qortal-ui-core/src/components/start-minting.js @@ -405,7 +405,7 @@ async confirmRelationship(){ const findMintingAccountsFromUser = this.mintingAccountData.filter((ma) => ma.recipientAccount === address && ma.mintingAccount === address); - if(findMintingAccountsFromUser > 2){ + if(findMintingAccountsFromUser.length > 2){ this.errorMsg = translate("startminting.smchange10") return; }