forked from DebaucheryLibrarian/traxxx
Entity refactor. Facilitating channels without parent.
This commit is contained in:
@@ -130,7 +130,6 @@ import FilterBar from '../header/filter-bar.vue';
|
||||
import Releases from '../releases/releases.vue';
|
||||
import Sites from '../sites/sites.vue';
|
||||
import Network from '../tile/network.vue';
|
||||
import Entity from '../tile/entity.vue';
|
||||
|
||||
async function fetchNetwork() {
|
||||
const { entity, totalCount } = await this.$store.dispatch('fetchEntityBySlugAndType', {
|
||||
@@ -163,7 +162,6 @@ export default {
|
||||
Releases,
|
||||
Sites,
|
||||
Network,
|
||||
Entity,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -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