Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
micnori committed Nov 18, 2024
2 parents 60b3cc3 + 1b774dd commit 73b132c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@
</v-col>
<v-col cols="4">
<div class="tab-container">
<div v-if="addresIsValid && !showErrorLocation && !manualEnabling">
<p>
<div v-if="showInfoEdit()">
<p>
E’ possibile impostare la posizione della sede manualmente oppure
automaticamente in base all’indirizzo inserito.
</p>
Expand Down Expand Up @@ -653,6 +653,9 @@ export default {
updateLocation: "updateLocation",
getAllLocations: "getAllLocations",
}),
showInfoEdit(){
return this.addresIsValid && !this.showErrorLocation &&!this.tmpLocationSelected && !(this.typeCall == 'edit')
},
loadLocations() {
if (this.actualCompany) this.getAllLocations(this.actualCompany.item.id);
},
Expand Down Expand Up @@ -746,6 +749,7 @@ export default {
this.$refs.geolocationSelector.resetPosition(this.latitude, this.longitude);
this.$refs.geolocationSelector.disableMap();
this.manualEnabling = false;
this.pointIsFar=false;
},
locationChanged(input) {
if (this.manualEnabling) {
Expand Down

0 comments on commit 73b132c

Please sign in to comment.