Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@blackcoffeexbt
Copy link
Collaborator

  • Update to Server admin to use the human readable funding source name.
  • Update to Server admin to sort funding sources alphabetically

@blackcoffeexbt blackcoffeexbt requested review from dni and motorina0 June 6, 2024 13:46
@codecov
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.39%. Comparing base (83b8985) to head (218b07a).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2543   +/-   ##
=======================================
  Coverage   61.39%   61.39%           
=======================================
  Files          69       69           
  Lines        9873     9873           
=======================================
  Hits         6062     6062           
  Misses       3811     3811           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

mixins: [windowMixin],
props: ['form-data', 'allowed-funding-sources'],
methods: {
getFundingSourceLabel(item) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this needed?
what was being displayed without it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Without this, the [0] value is being displayed e.g. "CoreLightningWallet" this changes the drop down labels to:

CoreLightningWallet > Core Lightning
CoreLightningRestWallet > Core Lightning Rest
LndWallet > Lightning Network Daemon (LND)

etc

@prusnak prusnak merged commit b3368d8 into lnbits:dev Jun 10, 2024
motorina0 pushed a commit that referenced this pull request Jul 10, 2024
* Display friendly funding source titles in funding sources list

* Sort funding options select alphabetically

* Run make bundle
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.

4 participants