1
0
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:
Thomas Huang 2017-08-29 17:54:01 -07:00
parent 71de68fc13
commit 04011f9ea7

View File

@ -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`