mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +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) {
|
||||
if (pageOptions.view === "card") pageOptions.itemsPerPage = 24
|
||||
else if (pageOptions.view === "tiny") pageOptions.itemsPerPage = 36
|
||||
else pageOptions.itemsPerPage = 25
|
||||
}
|
||||
// function updateItemsPerPage(..._: any) {
|
||||
// if (pageOptions.view === "card") pageOptions.itemsPerPage = 24
|
||||
// else if (pageOptions.view === "tiny") pageOptions.itemsPerPage = 36
|
||||
// else pageOptions.itemsPerPage = 25
|
||||
// }
|
||||
</script>
|
||||
|
||||
<Card class="mb-3">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue