mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-13 19:37:42 +01:00
fix: logout on safari (#2971)
This commit is contained in:
parent
2aebe72df8
commit
60de308c8f
2 changed files with 2 additions and 1 deletions
|
@ -177,6 +177,7 @@ window.app = Vue.createApp({
|
|||
created() {
|
||||
this.description = SITE_DESCRIPTION
|
||||
this.isUserAuthorized = !!this.$q.cookies.get('is_lnbits_user_authorized')
|
||||
const _acccess_cookies_for_safari_refresh_do_not_delete = document.cookie
|
||||
if (this.isUserAuthorized) {
|
||||
window.location.href = '/wallet'
|
||||
}
|
||||
|
|
|
@ -801,7 +801,7 @@ window.WalletPageLogic = {
|
|||
},
|
||||
createdTasks() {
|
||||
this.update.name = this.g.wallet.name
|
||||
this.receive.units = ['sat', ...window.currencies]
|
||||
this.receive.units = ['sat', ...(window.currencies || [])]
|
||||
if (this.g.wallet.currency != '') {
|
||||
this.g.fiatTracking = true
|
||||
this.updateFiatBalance(this.g.wallet.currency)
|
||||
|
|
Loading…
Add table
Reference in a new issue