Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 14d7d53

Browse files
authored
Merge pull request #404 from iotaledger/hotfix-tag
ui.history: display correct tag
2 parents 2eacaa8 + 0da71c2 commit 14d7d53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/js/ui.history.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var UI = (function(UI, $, undefined) {
3535
var html = "<div class='list'><ul>";
3636

3737
for (var i=0; i<transactions.length; i++) {
38-
var tag = String(transactions[i].obsoleteTag).replace(/[9]+$/, "");
38+
var tag = String(transactions[i].tag).replace(/[9]+$/, "");
3939
html += "<li><div class='details'><div class='address'>" + (tag ? "<div class='tag'>" + UI.format(tag) + "</div>" : "") + UI.formatForClipboard(iota.utils.addChecksum(transactions[i].address)) + "</div></div><div class='value'>" + UI.formatAmount(transactions[i].value) + "</div></li>";
4040
}
4141

@@ -215,7 +215,7 @@ var UI = (function(UI, $, undefined) {
215215
if (item.value !== 0 && isOurAddress) {
216216
totalValue += item.value;
217217
}
218-
var tag = String(item.obsoleteTag).replace(/[9]+$/, "");
218+
var tag = String(item.tag).replace(/[9]+$/, "");
219219
if (tag && tags.indexOf(tag) == -1) {
220220
tags.push(tag);
221221
}

0 commit comments

Comments
 (0)