mod: texts of share load by link
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
|
||||
const sharePost = () => {
|
||||
const url = `https://console.etaviaporte.com/publico/carga/${props.load._id}`;
|
||||
const title = "";
|
||||
const title = "Revisa mi publicación de carga, ¡podría interesarte!";
|
||||
|
||||
navigator.share({
|
||||
title: title,
|
||||
|
||||
@@ -11,7 +11,6 @@ export default function useDirectionsRender() {
|
||||
const geocodeAddress = async (address) => {
|
||||
try {
|
||||
const geocoder = new google.maps.Geocoder();
|
||||
console.log(address)
|
||||
const data = await geocoder.geocode({ address: address });
|
||||
const latitude = data.results[0].geometry.location.lat();
|
||||
const longitude = data.results[0].geometry.location.lng();
|
||||
@@ -44,7 +43,6 @@ export default function useDirectionsRender() {
|
||||
})
|
||||
})
|
||||
});
|
||||
console.log({polylines})
|
||||
return polylines;
|
||||
} else {
|
||||
return [];
|
||||
|
||||
@@ -351,7 +351,8 @@ const en = {
|
||||
makeOffer: 'Make offer',
|
||||
msgOffertDone: 'Offer successfully completed',
|
||||
msgOffertUpdate: 'Offer updated successfully',
|
||||
selectVehicle: 'Select vehicle'
|
||||
selectVehicle: 'Select vehicle',
|
||||
loginRequired: "You must log in to bid on"
|
||||
},
|
||||
vehicles: {
|
||||
title: 'Vehicles',
|
||||
|
||||
@@ -358,7 +358,8 @@ const es = {
|
||||
makeOffer: 'Realizar oferta',
|
||||
msgOffertDone: 'Oferta realizada con éxito',
|
||||
msgOffertUpdate: 'Oferta actualizada con éxito',
|
||||
selectVehicle: 'Seleccionaar vehículo'
|
||||
selectVehicle: 'Seleccionaar vehículo',
|
||||
loginRequired: "Debes iniciar sesión para hacer una oferta en"
|
||||
},
|
||||
vehicles: {
|
||||
title: 'Vehiculos',
|
||||
|
||||
@@ -81,15 +81,15 @@
|
||||
<h2 class="title text-center mt-5">Realizar oferta</h2>
|
||||
<div
|
||||
v-if="!hasSession"
|
||||
class="alert alert-info text-dark mt-3 mb-2"
|
||||
class="alert alert-info text-dark text-center mt-3 mb-2"
|
||||
>
|
||||
Para realizar oferta es necesario que inicies sesión en Etaviaporte
|
||||
<span>{{ t('proposals.loginRequired') }} <b>Etaviaporte</b></span>
|
||||
<RouterLink
|
||||
class="btn btn-dark ms-4"
|
||||
class="btn btn-dark ms-2"
|
||||
target="_blank"
|
||||
:to="{name: 'login'}"
|
||||
>
|
||||
Iniciar sesión
|
||||
{{ t('login.title') }}
|
||||
</RouterLink>
|
||||
</div>
|
||||
<Spiner v-if="loading"/>
|
||||
|
||||
Reference in New Issue
Block a user