chore: add eslint rules for spacing (#526)

This commit is contained in:
Haytham A. Salama
2023-08-11 22:59:10 +03:00
committed by Benjamin Canac
parent fa1103b4ec
commit a488b879f5
4 changed files with 5 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ const resetFilters = () => {
// Pagination
const page = ref(1)
const pageCount = ref(10)
const pageCount = ref(10)
const pageTotal = ref(200) // This value should be dynamic coming from the API
const pageFrom = computed(() => (page.value - 1) * pageCount.value + 1)
const pageTo = computed(() => Math.min(page.value * pageCount.value, pageTotal.value))