Skip to content

Commit

Permalink
Merge pull request #373 from soramitsu/fix/1.0.18
Browse files Browse the repository at this point in the history
Fix/1.0.18
  • Loading branch information
timofeytrepalin authored May 3, 2024
2 parents 210148c + 8056df8 commit 91faec4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adar",
"version": "1.0.18",
"version": "1.0.20",
"repository": {
"type": "git",
"url": "https://github.com/soramitsu/adar.git"
Expand Down
1 change: 1 addition & 0 deletions src/store/routeAssets/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ const getters = defineGetters<RouteAssetsState>()({
isLiquidityUnavailable(...args): boolean {
const { getters } = routeAssetsGetterContext(args);
const subscriptions = getters.subscriptions;
if (!subscriptions.length && getters.recipients.length) return false;
if (!subscriptions.length) return true;
return subscriptions.some((item: RouteAssetsSubscription) => !item.isAvailable);
},
Expand Down

0 comments on commit 91faec4

Please sign in to comment.