Skip to content

Commit

Permalink
fix: remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicov-iov committed Oct 7, 2024
1 parent 5a5c406 commit 9189658
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/components/Paginator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 0 additions & 1 deletion src/store/modules/backend/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/store/modules/backend/getters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9189658

Please sign in to comment.