Skip to content

fix: replace vars with globals#196

Merged
talvasconcelos merged 2 commits intomainfrom
fix/use_globals
Feb 3, 2026
Merged

fix: replace vars with globals#196
talvasconcelos merged 2 commits intomainfrom
fix/use_globals

Conversation

@talvasconcelos
Copy link
Collaborator

replace LNBITS_DENOMINATION for g,denomination

@talvasconcelos talvasconcelos requested review from arcbtc and dni January 30, 2026 17:55
</h3>
<h5
v-show="!denomIsSats && '{{LNBITS_DENOMINATION}}' == 'sats'"
v-show="!denomIsSats && g.settings.denomination == 'sats'"
Copy link
Member

@dni dni Jan 30, 2026

Choose a reason for hiding this comment

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

Suggested change
v-show="!denomIsSats && g.settings.denomination == 'sats'"
v-show="false"

simplification.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why use the v-show then?

The conditions work as expected. When we have a custom token (POOP), we don't want to show any sats convertion!

@talvasconcelos talvasconcelos merged commit ec2e516 into main Feb 3, 2026
15 checks passed
@talvasconcelos talvasconcelos deleted the fix/use_globals branch February 3, 2026 10:03
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.

3 participants