activity: format location label for parcours location

This commit is contained in:
nobohan 2021-11-24 15:25:36 +01:00
parent 2ee4a6b2ac
commit e73179688a

View File

@ -99,7 +99,7 @@ export default {
},
methods: {
labelAccompanyingCourseLocation(value) {
return `${value.address.text}`
return `${value.address.text} (${value.locationType.title.fr})`
},
customLabel(value) {
return value.name ?
@ -132,7 +132,6 @@ export default {
let locations = [];
this.suggestedEntities.forEach(
(e) => {
console.log(this.suggestedEntities.indexOf(e))
if (e.type === 'thirdparty' && e.address !== null){
locations.push({
type: 'location',