1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 22:39:18 +01:00

chore: fixes typescheck

This commit is contained in:
Amir Raminfar
2024-09-26 10:26:13 -07:00
parent f600d264bc
commit 3497bf37d1

View File

@@ -122,6 +122,6 @@ whenever(evaluating, () => {
const columns = computed(() =>
results.value.numRows > 0 ? Object.keys(results.value.get(0) as Record<string, any>) : [],
);
const page = computed(() => (results.value.numRows > 0 ? results.value.slice(0, pageLimit) : []));
const page = computed(() => (results.value.numRows > pageLimit ? results.value.slice(0, pageLimit) : results.value));
</script>
<style lang="postcss" scoped></style>