mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Multiple tokens shows the amount when greater than 1
This commit is contained in:
parent
71de68fc13
commit
04011f9ea7
@ -95,7 +95,7 @@ TokenList.prototype.renderTokenStatusBar = function () {
|
|||||||
let msg
|
let msg
|
||||||
if (tokens.length === 1) {
|
if (tokens.length === 1) {
|
||||||
msg = `You own 1 token`
|
msg = `You own 1 token`
|
||||||
} else if (tokens.length === 1) {
|
} else if (tokens.length > 1) {
|
||||||
msg = `You own ${tokens.length} tokens`
|
msg = `You own ${tokens.length} tokens`
|
||||||
} else {
|
} else {
|
||||||
msg = `No tokens found`
|
msg = `No tokens found`
|
||||||
|
Loading…
Reference in New Issue
Block a user