Entity refactor. Facilitating channels without parent.

This commit is contained in:
2020-06-28 00:15:13 +02:00
parent 0e8b4caac3
commit 3462d7af2a
50 changed files with 934 additions and 1964 deletions

View File

@@ -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';
}