Skip to content

Commit

Permalink
Release 1.19.6 (#1061)
Browse files Browse the repository at this point in the history
Merge pull request #1061 from madfish-solutions/development
  • Loading branch information
alex-tsx authored Jan 24, 2024
2 parents 7f9aec7 + aef905d commit fc6d5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/app/templates/SendForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ const SendForm = memo<Props>(({ 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];
},
Expand Down

0 comments on commit fc6d5a3

Please sign in to comment.