Merge pull request #685 from guillegiu/show-search-ticket-path

fix ticket search path showing
This commit is contained in:
Guillermo Giuliana 2020-01-02 10:17:16 -03:00 committed by GitHub
commit 63313c4675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class AdminPanelSearchTickets extends React.Component {
}
getFilters() {
let customList = window.customTicketList[this.props.location.query.custom*1] ? window.customTicketList[this.props.location.query.custom*1] : null
let customList = (window.customTicketList && window.customTicketList[this.props.location.query.custom*1]) ? window.customTicketList[this.props.location.query.custom*1] : null
return {
...customList
};