big oauth improvements
This commit is contained in:
@@ -83,18 +83,18 @@ export default {
|
||||
}
|
||||
|
||||
if (this.filters.places.length) {
|
||||
params.push(`places=${this.filters.places}`)
|
||||
params.push(`places=${this.filters.places.map(p => p.id)}`)
|
||||
}
|
||||
|
||||
if (this.filters.tags.length) {
|
||||
params.push(`tags=${this.filters.tags}`)
|
||||
params.push(`tags=${this.filters.tags.map(t => t.id)}`)
|
||||
}
|
||||
|
||||
return `<iframe style='border: 0px; width: 100%;' src="${this.settings.baseurl}/embed/list?${params.join('&')}"></iframe>`
|
||||
},
|
||||
link () {
|
||||
const tags = this.filters.tags.join(',')
|
||||
const places = this.filters.places.join(',')
|
||||
const tags = this.filters.tags.map(t => t.id).join(',')
|
||||
const places = this.filters.places.map(p => p.id).join(',')
|
||||
let query = ''
|
||||
if (tags || places) {
|
||||
query = '?'
|
||||
|
||||
Reference in New Issue
Block a user