show signatures

This commit is contained in:
liangping 2022-11-19 10:19:41 +08:00
parent 52a6db789e
commit 938a2d4a3b

View File

@ -273,8 +273,9 @@ export default {
return i return i
} }
const txt = text.substring(text.indexOf(':') + 1, text.indexOf(' ')) const txt = text.substring(text.indexOf(':') + 1, text.indexOf(' '))
const sig = text.split(' ')
const val = this.vals.find(x => x.hex.startsWith(txt)) const val = this.vals.find(x => x.hex.startsWith(txt))
return val?.description?.moniker || txt return `${val?.description?.moniker || txt} - ${sig[3]}`
}, },
}, },