From 91896587ee7dcd225bbfe48b82d60e4c6324512e Mon Sep 17 00:00:00 2001 From: Nicolas Vargas Date: Mon, 7 Oct 2024 12:12:01 -0300 Subject: [PATCH] fix: remove console.logs --- src/components/Paginator.vue | 2 -- src/store/modules/backend/actions.js | 1 - src/store/modules/backend/getters.js | 1 - 3 files changed, 4 deletions(-) diff --git a/src/components/Paginator.vue b/src/components/Paginator.vue index 7557d088..caa9ee31 100644 --- a/src/components/Paginator.vue +++ b/src/components/Paginator.vue @@ -104,12 +104,10 @@ export default { const prevKey = this.prevKey()(key) const pageKey = this.pageKey()(key) const query = { [nextKey]: next, [prevKey]: prev, [pageKey]: page } - console.log('query: ', query) this.updateRouterQuery({ query, key }) }, findPage (page) { const { pages } = this - console.log('pages: ', pages) const index = pages.findIndex(p => p.page === page) return (index > -1) ? pages[index] : null } diff --git a/src/store/modules/backend/actions.js b/src/store/modules/backend/actions.js index 1e432cc3..9c50b100 100644 --- a/src/store/modules/backend/actions.js +++ b/src/store/modules/backend/actions.js @@ -48,7 +48,6 @@ export const socketNewBlocks = ({ state, commit, getters, dispatch, rootState }, export const socketData = ({ state, commit, getters, dispatch }, res) => { const { req, pages, error, next, prev, delayed } = res - console.log('pages: ', pages) const key = req.key const total = (pages) ? pages.total : null const sort = (pages) ? pages.sort : null diff --git a/src/store/modules/backend/getters.js b/src/store/modules/backend/getters.js index 2aeef80c..5c61430c 100644 --- a/src/store/modules/backend/getters.js +++ b/src/store/modules/backend/getters.js @@ -38,7 +38,6 @@ export const lastBlocksTime = state => { export const getPageTotal = (state, getters) => key => { const data = state.responses[key] const total = (data?.pages && data?.pages.total) ? data?.pages.total : state.totals[key] || null - console.log('total: ', total) return total }