Maxi - Minor fixes [skip ci]

This commit is contained in:
ivan 2016-10-28 13:21:16 -03:00
parent b712cd645b
commit 5112aac650
2 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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);