|
@@ -2,9 +2,8 @@
|
|
<b-overlay :show="filteredNodes === undefined" class="h-100" z-index="0">
|
|
<b-overlay :show="filteredNodes === undefined" class="h-100" z-index="0">
|
|
<div class="kit-list">
|
|
<div class="kit-list">
|
|
<header class="kit-list-header">
|
|
<header class="kit-list-header">
|
|
- <div class="kit-list-header-intro">
|
|
|
|
- FIXME Intro
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="kit-list-header-intro" v-html="intro" />
|
|
|
|
+
|
|
<search-input v-model="search" class="input-search" />
|
|
<search-input v-model="search" class="input-search" />
|
|
</header>
|
|
</header>
|
|
|
|
|
|
@@ -41,7 +40,8 @@ export default {
|
|
|
|
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
- search: ''
|
|
|
|
|
|
+ search: '',
|
|
|
|
+ intro: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -53,6 +53,12 @@ export default {
|
|
const search = this.search.toLowerCase()
|
|
const search = this.search.toLowerCase()
|
|
return this.sheets.filter(node => searchInNode(search, node))
|
|
return this.sheets.filter(node => searchInNode(search, node))
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ async created () {
|
|
|
|
+ this.$store.dispatch('QUERY_PAGE', 'kit').then(page => {
|
|
|
|
+ this.intro = page.content
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|