Pārlūkot izejas kodu

Merge branch 'master' of ssh://gitea.yvvas.com:4022/craft-in-america/vue-wp

tags/0.9.0
J 4 gadus atpakaļ
vecāks
revīzija
df6197cd59

+ 1
- 1
vue-theme/src/components/hero.vue Parādīt failu

@@ -160,7 +160,7 @@ export default {
160 160
             border-width: 1.5em 0 1.5em 2.5em
161 161
 
162 162
     .hero
163
-        min-height: 50vh
163
+        /* min-height: 50vh */
164 164
         .embedded
165 165
             min-height: 50vh
166 166
 </style>

+ 3
- 1
vue-theme/src/components/sidebars/exhibitions.vue Parādīt failu

@@ -34,7 +34,9 @@ export default {
34 34
         async getPosts() {
35 35
             const upcoming = this.$store.dispatch(
36 36
                 `getAllExhibitions`,
37
-                sortTypes.currentAndUpcoming,
37
+                {
38
+                    sortType: sortTypes.currentAndUpcoming
39
+                }
38 40
             )
39 41
             if (upcoming.length < 1) {
40 42
                 // this.listType = 'past'

+ 1
- 1
vue-theme/src/pages/list.vue Parādīt failu

@@ -127,7 +127,7 @@ export default {
127 127
                 JSON.parse(page.hero).url
128 128
             ) {
129 129
                 json = JSON.parse(page.hero)
130
-                heson.heroType = 'video'
130
+                json.heroType = 'video'
131 131
             }
132 132
             // No featured or youTube
133 133
             if (!json.url) { json.heroType = null }

Notiek ielāde…
Atcelt
Saglabāt