Skip to content

Commit

Permalink
Add pagination from ansible_roles tab in hostgroup create view (#1372)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Gauravtalreja1 authored May 3, 2024
1 parent 0573c95 commit 842b014
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airgun/views/hostgroup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from widgetastic.widget import ConditionalSwitchableView, Table, Text, TextInput, View
from widgetastic_patternfly import BreadCrumb
from widgetastic_patternfly4 import Button as PF4Button
from widgetastic_patternfly4 import Button as PF4Button, Pagination as PF4Pagination

from airgun.views.common import BaseLoggedInView, SatTab, SearchableViewMixinPF4
from airgun.widgets import (
Expand Down Expand Up @@ -79,6 +79,7 @@ class host_group(SatTab):
class ansible_roles(SatTab):
TAB_NAME = 'Ansible Roles'
resources = MultiSelect(id='ms-hostgroup_ansible_role_ids')
pagination = PF4Pagination()

@View.nested
class puppet_enc(SatTab):
Expand Down

0 comments on commit 842b014

Please sign in to comment.