[DEV-365] Remove page size selector from ticket list in user view
This commit is contained in:
parent
36c5f3264b
commit
68b2d2bf63
|
@ -60,14 +60,14 @@ class TicketList extends React.Component {
|
|||
<div className="ticket-list__filters">
|
||||
<div className="ticket-list__main-filters">
|
||||
{(type === 'primary') ? this.renderMessage() : null}
|
||||
{
|
||||
((type === 'secondary') && showDepartmentDropdown) ?
|
||||
this.renderDepartmentsDropDown() :
|
||||
null
|
||||
}
|
||||
{
|
||||
((type === 'secondary') && showDepartmentDropdown) ?
|
||||
this.renderDepartmentsDropDown() :
|
||||
null
|
||||
}
|
||||
{onClosedTicketsShownChange ? this.renderFilterCheckbox() : null}
|
||||
</div>
|
||||
{
|
||||
{
|
||||
showPageSizeDropdown ?
|
||||
<PageSizeDropdown className="ticket-list__page-dropdown" pages={pages} onChange={(event) => this.pageSizeChange(event)} /> :
|
||||
null
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
&__main-filters {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__department-selector {
|
||||
|
@ -62,3 +63,7 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
.create-ticket-form__message {
|
||||
width: 100%;
|
||||
}
|
|
@ -56,6 +56,7 @@ class DashboardListTicketsPage extends React.Component {
|
|||
page={page}
|
||||
pages={pages}
|
||||
tickets={tickets}
|
||||
showPageSizeDropdown={false}
|
||||
type={userUsers.length ? "secondary" : "primary"} />
|
||||
{
|
||||
message ?
|
||||
|
|
Loading…
Reference in New Issue