Commit fa6617e4 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Identity: add workaround for g1-test (Duniter issue 1309)

[fix] TX on identity: fix "show more (limit ...)" message
parent 5db2b12c
......@@ -414,6 +414,12 @@ angular.module('cesium.wot.services', ['ngApi', 'cesium.bma.services', 'cesium.c
isMember = false;
return []; // continue (append pendings cert if exists in lookup)
}
/*FIXME: workaround for Duniter issue #1309 */
else if (!!err && err.ucode == 1002) {
console.warn("[wallet-service] Detecting Duniter issue #1309 ! Applying workaround... ");
isMember = false;
return []; // not found
}
else {
throw err;
}
......
......@@ -66,7 +66,7 @@
<div class="item item-text-wrap text-center" ng-if="formData.tx.fromTime > 0">
<p>
<a ng-click="showMoreTx()">{{:locale:'ACCOUNT.SHOW_MORE_TX'|translate}}</a>
<span class="gray" translate="ACCOUNT.TX_FROM_DATE" translate-values="{fromTime: tx.fromTime}"></span>
<span class="gray" translate="ACCOUNT.TX_FROM_DATE" translate-values="{fromTime: formData.tx.fromTime}"></span>
<span class="gray">|</span>
<a ng-click="showMoreTx(-1)" translate>ACCOUNT.SHOW_ALL_TX</a>
</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment