Skip to content

Commit

Permalink
BUG - Namadillo: Fix issue where 0 enabled features returns ALL featu…
Browse files Browse the repository at this point in the history
…res (#1373)

* fix: fixes issue where 0 enabled features returns ALL features

* fix: bumping
  • Loading branch information
jurevans authored Dec 3, 2024
1 parent bb222ef commit 269335a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/namadillo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@namada/namadillo",
"version": "1.0.0",
"version": "1.0.1",
"description": "Namadillo",
"repository": "https://github.com/anoma/namada-interface/",
"author": "Heliax Dev <info@heliax.dev>",
Expand Down
2 changes: 1 addition & 1 deletion apps/namadillo/src/hooks/useRegistryFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const fetchEnabledFeatures = async (
features: Feature[];
};

if (!enabledFeatures || enabledFeatures.length === 0) {
if (!enabledFeatures) {
// Enable every feature for non-registry chains
return allFeaturesEnabled;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "namada",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"workspaces": [
"apps/namadillo",
Expand Down

1 comment on commit 269335a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.