Kobus 5 лет назад
Родитель
Сommit
ae9ffdb4ef
1 измененных файлов: 1 добавлений и 7 удалений
  1. 1
    7
      src/components/timeshare/buy/buyPage.vue

+ 1
- 7
src/components/timeshare/buy/buyPage.vue Просмотреть файл

@@ -121,13 +121,7 @@ export default {
121 121
   computed: {
122 122
     ...mapState('timeshareBuy', ['detailedRegion', 'resort']),
123 123
     mapUrl() {
124
-      return (
125
-        'http://maps.google.com/maps?q='
126
-        + this.resort.prLatitude
127
-        + ', '
128
-        + this.resort.prLongitude
129
-        + '&z=15&output=embed'
130
-      );
124
+      return `http://maps.google.com/maps?q=${this.resort.prLatitude},${this.resort.prLongitude}&z=15&output=embed`;
131 125
     },
132 126
     regions() {
133 127
       return _.sortBy(this.detailedRegion, r => r.regionName);

Загрузка…
Отмена
Сохранить