You've already forked AstralRinth
forked from didirus/AstralRinth
Modpack alpha release (#469)
This commit is contained in:
@@ -56,7 +56,11 @@
|
||||
<p class="description">
|
||||
{{ description }}
|
||||
</p>
|
||||
<Categories :categories="categories" class="right-categories" />
|
||||
<Categories
|
||||
:categories="categories"
|
||||
:type="type"
|
||||
class="right-categories"
|
||||
/>
|
||||
<div class="dates">
|
||||
<div class="date">
|
||||
<CalendarIcon aria-hidden="true" />
|
||||
|
||||
@@ -18,12 +18,20 @@ export default {
|
||||
return []
|
||||
},
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
categoriesFiltered() {
|
||||
return this.$tag.categories
|
||||
.concat(this.$tag.loaders)
|
||||
.filter((x) => this.categories.includes(x.name))
|
||||
.filter(
|
||||
(x) =>
|
||||
this.categories.includes(x.name) &&
|
||||
(!x.project_type || x.project_type === this.type)
|
||||
)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user