Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): add pagination buttons to top of control panel page #3747

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/components/nodes-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
}"
:expanded.sync="expanded"
:value="managedNodes.selected"
:options="managedNodes.tableOptions"
:custom-sort="sort"
:options="managedNodes.tableOptions"
@update:options="managedNodes.tableOptions = $event"
@input="managedNodes.selected = $event"
@click:row="toggleExpanded($event)"
Expand All @@ -21,7 +21,7 @@
:search="search"
style="margin-bottom: 50px; padding-bottom: 0 !important"
>
<template v-slot:top>
<template v-slot:top="{ pagination, options, updateOptions }">

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'options' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'updateOptions' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'options' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'updateOptions' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'options' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'updateOptions' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'options' is defined but never used

Check failure on line 24 in src/components/nodes-table/index.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'updateOptions' is defined but never used
<v-row class="my-4 ml-1" justify-start>
<v-text-field
v-model="search"
Expand Down Expand Up @@ -119,6 +119,16 @@
</template>
<span>Reset all table settings</span>
</v-tooltip>

<v-spacer></v-spacer>
<v-data-footer
style="border-top: none"
class="mr-2"
:pagination="pagination"
:items-per-page-text="'Rows'"
:options="managedNodes.tableOptions"
@update:options="managedNodes.tableOptions = $event"
/>
</v-row>
</template>
<template
Expand Down
Loading