JannekeDL пре 5 година
родитељ
комит
df02503928

+ 4
- 1
src/components/timeshare/buy/buyPage.vue Прегледај датотеку

@@ -38,7 +38,7 @@
38 38
           <div class="row mb-4">
39 39
             <div class="col-md-8">
40 40
               <div class="accordion" id="accordionExample">
41
-                <div class="card" v-for="(region, r) in detailedRegion" :key="r">
41
+                <div class="card" v-for="(region, r) in regions" :key="r">
42 42
                   <a
43 43
                     class="btn btn-b-n"
44 44
                     type="button"
@@ -86,6 +86,9 @@ export default {
86 86
   },
87 87
   computed: {
88 88
     ...mapState('timeshareBuy', ['detailedRegion']),
89
+    regions(){
90
+      return _.sortBy(this.detailedRegion, r => r.regionName);
91
+    }
89 92
   },
90 93
   methods: {
91 94
     ...mapActions('timeshareBuy', ['getRegions']),

+ 1
- 1
src/components/user/registerAgencySection.vue Прегледај датотеку

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <!-- eslint-disable max-len -->
3
-  <form method="POST">
3
+  <form>
4 4
     <div class="container" style="text-align:left">
5 5
       <div class="reg-page">
6 6
         <div class="regform" style="text-align:left">

+ 1
- 1
src/components/user/registerPage.vue Прегледај датотеку

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <form method="POST">
2
+  <form>
3 3
     <!-- eslint-disable max-len -->
4 4
     <div class="reg-page">
5 5
       <div class="regform">

+ 1
- 0
src/store/modules/timeshare/buyPage.js Прегледај датотеку

@@ -1,6 +1,7 @@
1 1
 /* eslint-disable no-restricted-syntax */
2 2
 /* eslint-disable guard-for-in */
3 3
 import axios from 'axios';
4
+import _ from 'lodash';
4 5
 
5 6
 export default {
6 7
   namespaced: true,

Loading…
Откажи
Сачувај