diff --git a/src/renderer/views/Popular/Popular.js b/src/renderer/views/Popular/Popular.js index cd80eeab7..e45b4a9cd 100644 --- a/src/renderer/views/Popular/Popular.js +++ b/src/renderer/views/Popular/Popular.js @@ -26,14 +26,11 @@ export default Vue.extend({ mounted: function () { this.shownResults = this.popularCache if (!this.shownResults || this.shownResults.length < 1) { - this.fetchTrendingInfo() + this.fetchPopularInfo() } }, methods: { - refreshTrendingInfo: function () { - this.fetchTrendingInfo() - }, - fetchTrendingInfo: async function () { + fetchPopularInfo: async function () { const searchPayload = { resource: 'popular', id: '', diff --git a/src/renderer/views/Popular/Popular.vue b/src/renderer/views/Popular/Popular.vue index d16346c93..b133588fb 100644 --- a/src/renderer/views/Popular/Popular.vue +++ b/src/renderer/views/Popular/Popular.vue @@ -17,8 +17,8 @@ icon="sync" class="floatingTopButton" :size="12" - :theme="primary" - @click="refreshTrendingInfo" + theme="primary" + @click="fetchPopularInfo" />