mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
activity: format location label for parcours location
This commit is contained in:
parent
2ee4a6b2ac
commit
e73179688a
@ -99,7 +99,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
labelAccompanyingCourseLocation(value) {
|
labelAccompanyingCourseLocation(value) {
|
||||||
return `${value.address.text}`
|
return `${value.address.text} (${value.locationType.title.fr})`
|
||||||
},
|
},
|
||||||
customLabel(value) {
|
customLabel(value) {
|
||||||
return value.name ?
|
return value.name ?
|
||||||
@ -132,7 +132,6 @@ export default {
|
|||||||
let locations = [];
|
let locations = [];
|
||||||
this.suggestedEntities.forEach(
|
this.suggestedEntities.forEach(
|
||||||
(e) => {
|
(e) => {
|
||||||
console.log(this.suggestedEntities.indexOf(e))
|
|
||||||
if (e.type === 'thirdparty' && e.address !== null){
|
if (e.type === 'thirdparty' && e.address !== null){
|
||||||
locations.push({
|
locations.push({
|
||||||
type: 'location',
|
type: 'location',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user