refactor: render variables for jinja, components and window vars (#3014)
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com> Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
co-authored by
Tiago Vasconcelos
Vlad Stan
parent
7b29223e95
commit
ceb8203353
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -495,8 +495,10 @@ window.windowMixin = {
|
||||
? this.$q.localStorage.getItem('lnbits.backgroundImage')
|
||||
: USE_DEFAULT_BGIMAGE,
|
||||
isUserAuthorized: false,
|
||||
isSatsDenomination: WINDOW_SETTINGS['LNBITS_DENOMINATION'] == 'sats',
|
||||
walletEventListeners: [],
|
||||
backgroundImage: ''
|
||||
backgroundImage: '',
|
||||
...WINDOW_SETTINGS
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -101,8 +101,8 @@ window.app = Vue.createApp({
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.description = SITE_DESCRIPTION
|
||||
this.allowedRegister = ALLOWED_REGISTER
|
||||
this.description = this.SITE_DESCRIPTION
|
||||
this.allowedRegister = this.LNBITS_NEW_ACCOUNTS_ALLOWED
|
||||
this.authAction =
|
||||
!this.allowedRegister ||
|
||||
Quasar.LocalStorage.getItem('lnbits.disclaimerShown')
|
||||
|
||||
Reference in New Issue
Block a user