From bdee83f21d4b4e08ee876c0a3f1d135141e325f1 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Mon, 26 Aug 2019 14:00:13 +0200
Subject: [PATCH] [fix] Minor fix

---
 www/js/services/tx-services.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/js/services/tx-services.js b/www/js/services/tx-services.js
index 68615b7b8..2572c44b2 100644
--- a/www/js/services/tx-services.js
+++ b/www/js/services/tx-services.js
@@ -21,7 +21,7 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services',
           if (tx.block_number || allowPendings) {
             var walletIsIssuer = false;
             var otherIssuer = tx.issuers.reduce(function(issuer, res) {
-              walletIsIssuer = (res === pubkey) ? true : walletIsIssuer;
+              walletIsIssuer = walletIsIssuer || (res === pubkey);
               return issuer + ((res !== pubkey) ? ', ' + res : '');
             }, '');
             if (otherIssuer.length > 0) {
-- 
GitLab