Maxi - Minor fixes [skip ci]
This commit is contained in:
parent
b712cd645b
commit
5112aac650
|
@ -5,7 +5,6 @@ import i18n from 'lib-app/i18n';
|
|||
import DateTransformer from 'lib-core/date-transformer';
|
||||
|
||||
import TicketInfo from 'app-components/ticket-info';
|
||||
|
||||
import Table from 'core-components/table';
|
||||
import Button from 'core-components/button';
|
||||
import Tooltip from 'core-components/tooltip';
|
||||
|
@ -24,6 +23,7 @@ class TicketList extends React.Component {
|
|||
};
|
||||
|
||||
static defaultProps = {
|
||||
loading: false,
|
||||
tickets: [],
|
||||
ticketPath: '/dashboard/ticket/',
|
||||
type: 'primary'
|
||||
|
|
|
@ -41,7 +41,7 @@ class AdminPanelAllTickets extends React.Component {
|
|||
export default connect((store) => {
|
||||
return {
|
||||
departments: store.session.userDepartments,
|
||||
tickets: store.adminData.newTickets,
|
||||
loading: !store.adminData.newTicketsLoaded
|
||||
tickets: store.adminData.allTickets,
|
||||
loading: !store.adminData.allTicketsLoaded
|
||||
};
|
||||
})(AdminPanelAllTickets);
|
||||
|
|
Loading…
Reference in New Issue