Entity refactor. Facilitating channels without parent.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Entity from '../tile/entity.vue';
|
||||
import Entity from '../entities/tile.vue';
|
||||
|
||||
async function searchEntities() {
|
||||
this.searchResults = await this.$store.dispatch('searchEntities', {
|
||||
@@ -54,7 +54,14 @@ async function searchEntities() {
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
this.networks = await this.$store.dispatch('fetchEntities', { type: 'network' });
|
||||
this.networks = await this.$store.dispatch('fetchEntities', {
|
||||
type: 'network',
|
||||
entitySlugs: [
|
||||
'bamvisions',
|
||||
'evilangel',
|
||||
'legalporno',
|
||||
],
|
||||
});
|
||||
this.pageTitle = 'Networks';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user