Added rudimentary release search.

This commit is contained in:
2020-02-26 01:15:50 +01:00
parent 756ab09ce6
commit 638a71f36c
20 changed files with 356 additions and 58 deletions

View File

@@ -3,10 +3,7 @@
<FilterBar :fetch-releases="fetchReleases" />
<div class="content-inner">
<Releases
:releases="releases"
referer="home"
/>
<Releases :releases="releases" />
</div>
</div>
</template>
@@ -16,7 +13,7 @@ import FilterBar from '../header/filter-bar.vue';
import Releases from '../releases/releases.vue';
async function fetchReleases() {
this.releases = await this.$store.dispatch('fetchReleases', { limit: 250 });
this.releases = await this.$store.dispatch('fetchReleases', { limit: 20 });
this.$store.commit('setCache', {
target: 'home',
releases: this.releases,