Browse Source

BuyPage - Timeshare - fixed duplication

master
Kobus 5 years ago
parent
commit
d5589d81a3
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/store/modules/timeshare/buyPage.js

+ 2
- 1
src/store/modules/timeshare/buyPage.js View File

@@ -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,

Loading…
Cancel
Save