Procházet zdrojové kódy

Added components in thirdRow layout

tags/0.9.0
Alej před 4 roky
rodič
revize
5bc8117a96
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      vue-theme/src/pages/index.vue

+ 2
- 2
vue-theme/src/pages/index.vue Zobrazit soubor

45
         return {
45
         return {
46
             firstRow: ['episode', 'exhibition', 'event', 'short', 'post'],
46
             firstRow: ['episode', 'exhibition', 'event', 'short', 'post'],
47
             secondRow: 'artist', // This is only ONE post
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
     async created() {
51
     async created() {
83
             await this.$store.dispatch('getAllPages', { sortType: null, params: null })
83
             await this.$store.dispatch('getAllPages', { sortType: null, params: null })
84
         }
84
         }
85
         await this.checkAndSetHero('welcome')
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
     methods: {
88
     methods: {
89
         firstPostOfType(type) {
89
         firstPostOfType(type) {

Načítá se…
Zrušit
Uložit