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