Change port pagination default to 32 (#16131)

* Change port pagination default to 32
that way this includes all ports for most switches.
Most port counts are base 2, so change pagination options to match

* ignore upstream missing closure type

* Fix style again

* more
This commit is contained in:
Tony Murray
2024-06-17 09:09:33 -05:00
committed by GitHub
parent 097d4a3f94
commit 592ea1c263
3 changed files with 60 additions and 5 deletions

View File

@@ -19,8 +19,7 @@
<div class="tw-flex tw-flex-row-reverse tw-m-3">
{{ $data['ports']->links('pagination::tailwind', ['perPage' => $data['perPage']]) }}
@isset($data['perPage'])
<x-select :options="['15', '25', '100', 'all']"
{{-- location.herf = --}}
<x-select :options="['16', '32', '128', 'all']"
x-on:change="
const params = new URLSearchParams(window.location.search);
params.set('perPage', $event.target.value);