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