Просмотр исходного кода

Added components in thirdRow layout

tags/0.9.0
Alej 4 лет назад
Родитель
Сommit
5bc8117a96
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      vue-theme/src/pages/index.vue

+ 2
- 2
vue-theme/src/pages/index.vue Просмотреть файл

@@ -45,7 +45,7 @@ export default {
45 45
         return {
46 46
             firstRow: ['episode', 'exhibition', 'event', 'short', 'post'],
47 47
             secondRow: 'artist', // This is only ONE post
48
-            thirdRow: ['episode', 'exhibition', 'event', 'artist', 'post'],
48
+            thirdRow: ['guide', 'object', 'short', 'publication', 'post'],
49 49
         }
50 50
     },
51 51
     async created() {
@@ -83,7 +83,7 @@ export default {
83 83
             await this.$store.dispatch('getAllPages', { sortType: null, params: null })
84 84
         }
85 85
         await this.checkAndSetHero('welcome')
86
-        await this.$store.dispatch('getRandomPosts', ['episode', 'exhibition', 'event', 'artist', 'post'])
86
+        await this.$store.dispatch('getRandomPosts', ['artist', 'guide', 'object', 'short', 'publication', 'post'])
87 87
     },
88 88
     methods: {
89 89
         firstPostOfType(type) {

Загрузка…
Отмена
Сохранить