mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
fix(dashboard): don't force items per page amount on member/group pages
This commit is contained in:
parent
a4fd48e64d
commit
6eadcb42b1
1 changed files with 6 additions and 6 deletions
|
|
@ -32,13 +32,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$: updateItemsPerPage(pageOptions.view)
|
// $: updateItemsPerPage(pageOptions.view)
|
||||||
|
|
||||||
function updateItemsPerPage(..._: any) {
|
// function updateItemsPerPage(..._: any) {
|
||||||
if (pageOptions.view === "card") pageOptions.itemsPerPage = 24
|
// if (pageOptions.view === "card") pageOptions.itemsPerPage = 24
|
||||||
else if (pageOptions.view === "tiny") pageOptions.itemsPerPage = 36
|
// else if (pageOptions.view === "tiny") pageOptions.itemsPerPage = 36
|
||||||
else pageOptions.itemsPerPage = 25
|
// else pageOptions.itemsPerPage = 25
|
||||||
}
|
// }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Card class="mb-3">
|
<Card class="mb-3">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue