refactor: lnbits-wallet-ads, ads on wallet page (#3534)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
window.app.component('lnbits-wallet-ads', {
|
||||
template: '#lnbits-wallet-ads',
|
||||
mixins: [window.windowMixin],
|
||||
computed: {
|
||||
ads() {
|
||||
return this.AD_SPACE.map(ad => ad.split(';'))
|
||||
},
|
||||
adSpaceTitle() {
|
||||
return this.AD_SPACE_TITLE || 'Sponsored Ads'
|
||||
},
|
||||
adSpaceEnabled() {
|
||||
return this.AD_SPACE_ENABLED && this.AD_SPACE && this.AD_SPACE.length > 0
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user