Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: no guardians card for solo #335

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

Kodylow
Copy link
Member

@Kodylow Kodylow commented Dec 1, 2023

Nulls guardian card for solo guardian dashboard.

@Kodylow Kodylow requested a review from a team as a code owner December 1, 2023 23:04
wbobeirne
wbobeirne previously approved these changes Dec 1, 2023
Comment on lines 85 to 87
if (!Object.keys(status?.federation?.status_by_peer || {}).length) {
return null;
}
Copy link
Collaborator

@wbobeirne wbobeirne Dec 1, 2023

Choose a reason for hiding this comment

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

Any reason this isn't just !rows.length? If the intent is to render the loading state, maybe config && !rows.length?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed, just checking if it's solo, using rows makes more sense

@wbobeirne wbobeirne merged commit 6384eca into fedimint:master Dec 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants