Procházet zdrojové kódy

BuyPage - Timeshare - fixed duplication

master
Kobus před 5 roky
rodič
revize
d5589d81a3
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      src/store/modules/timeshare/buyPage.js

+ 2
- 1
src/store/modules/timeshare/buyPage.js Zobrazit soubor

@@ -25,6 +25,7 @@ export default {
25 25
       commit,
26 26
       dispatch,
27 27
     }) {
28
+      commit('clearDetailed');
28 29
       axios.get(
29 30
         'https://www.tradeunipoint.com/unibackend/seam/resource/rest/products/regions/list/ZA/',
30 31
       )
@@ -45,7 +46,7 @@ export default {
45 46
       if (region) {
46 47
         axios
47 48
           .get(`https://www.tradeunipoint.com/unibackend/seam/resource/rest/products/resorts/${
48
-            region.regionCode }/`)
49
+            region.regionCode}/`)
49 50
           .then(result => commit('addDetailed', {
50 51
             id: region.id,
51 52
             regionCode: region.regionCode,

Načítá se…
Zrušit
Uložit