Enhances super user experience with Castle wallet
Simplifies the user experience for super users by automatically using the Castle wallet for transactions, removing the need to configure a separate user wallet. This change streamlines the workflow for super users by: - Automatically assigning the Castle wallet to super users - Hiding the user wallet configuration options in the UI - Reloading user wallet settings to reflect the Castle wallet
This commit is contained in:
parent
f1ada5e290
commit
cb7e4ee555
3 changed files with 57 additions and 14 deletions
|
|
@ -176,6 +176,10 @@ window.app = Vue.createApp({
|
|||
})
|
||||
this.settingsDialog.show = false
|
||||
await this.loadSettings()
|
||||
// Reload user wallet to reflect castle wallet for super user
|
||||
if (this.isSuperUser) {
|
||||
await this.loadUserWallet()
|
||||
}
|
||||
} catch (error) {
|
||||
LNbits.utils.notifyApiError(error)
|
||||
} finally {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue