Skip to content

Commit fbae5de

Browse files
committed
fix: Fix local label deletion functionality
1 parent 77d23c5 commit fbae5de

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v5.8.3
2+
3+
- [fix] Fix local label deletion functionality
4+
15
### v5.8.2
26

37
- [fix] Fix Tronscan compatibility

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metasuites",
3-
"version": "5.8.2",
3+
"version": "5.8.3",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/blocksecteam/metasuites.git"

src/common/utils/biz.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,7 @@ export const mergeAddressLabels = async (
139139
} as AddressLabel
140140
})
141141
.filter(item => {
142-
const key = `${classifyByChain(item.chain)}-${formatAddress(
143-
item.address
144-
)}`
142+
const key = `${item.chain}-${formatAddress(item.address)}`
145143
return !privateLabels[key]?.deleted
146144
})
147145
return uniqBy(

src/content/etherscan/feat-scripts/main-address-label.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const genMainAddressLabel = async (chain: string) => {
2222

2323
const divSummaryEl = $('#ContentPlaceHolder1_divSummary')
2424
const containerEl = $('#ContentPlaceHolder1_divLabels')
25-
console.log('containerEl', containerEl[0])
2625
divSummaryEl.find('> div').removeAttr('style')
2726
if (!divSummaryEl.hasClass('pt-2')) {
2827
divSummaryEl.addClass('pt-2')

0 commit comments

Comments
 (0)