From 376189afac529ebdb17e959c5f6eb5965245cb0c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 23 Jan 2024 17:58:17 +0200 Subject: [PATCH 1/2] TW-1278: Fix double TEZ in dropdown of Send form (#1059) --- src/app/templates/SendForm/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/templates/SendForm/index.tsx b/src/app/templates/SendForm/index.tsx index 7374939ba8..21c12491c5 100644 --- a/src/app/templates/SendForm/index.tsx +++ b/src/app/templates/SendForm/index.tsx @@ -32,7 +32,9 @@ const SendForm = memo(({ assetSlug = TEZ_TOKEN_SLUG }) => { () => { const sortedSlugs = Array.from(tokensSlugs).sort(tokensSortPredicate); - return !assetSlug || sortedSlugs.some(s => s === assetSlug) + if (!assetSlug || assetSlug === TEZ_TOKEN_SLUG) return [TEZ_TOKEN_SLUG, ...sortedSlugs]; + + return sortedSlugs.some(s => s === assetSlug) ? [TEZ_TOKEN_SLUG, ...sortedSlugs] : [TEZ_TOKEN_SLUG, assetSlug, ...sortedSlugs]; }, From aef905d9d21cbc01a798b2375b4eec7c307dc18e Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 24 Jan 2024 11:10:28 +0200 Subject: [PATCH 2/2] Bump version to 1.19.6 (#1060) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f3ec3a8e6b..501a92581a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "temple-wallet", - "version": "1.19.5", + "version": "1.19.6", "private": true, "scripts": { "start-run": "cross-env TS_NODE_PROJECT=\"webpack/tsconfig.json\" webpack --watch --stats errors-warnings",