identation code
parent
8c44a21e89
commit
40f5840edf
|
@ -172,7 +172,7 @@ const Ticket = () => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.ticketActionButtons}>
|
<div className={classes.ticketActionButtons}>
|
||||||
<TicketActionButtons ticket={ticket} statusChatEnd={statusChatEnd}/>
|
<TicketActionButtons ticket={ticket} statusChatEnd={statusChatEnd} />
|
||||||
</div>
|
</div>
|
||||||
</TicketHeader>
|
</TicketHeader>
|
||||||
<ReplyMessageProvider>
|
<ReplyMessageProvider>
|
||||||
|
|
|
@ -32,6 +32,7 @@ const useStyles = makeStyles(theme => ({
|
||||||
const TicketActionButtons = ({ ticket, statusChatEnd }) => {
|
const TicketActionButtons = ({ ticket, statusChatEnd }) => {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
|
|
||||||
const [anchorEl, setAnchorEl] = useState(null);
|
const [anchorEl, setAnchorEl] = useState(null);
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [useDialogflow, setUseDialogflow] = useState(ticket.contact.useDialogflow);
|
const [useDialogflow, setUseDialogflow] = useState(ticket.contact.useDialogflow);
|
||||||
|
@ -55,8 +56,6 @@ const TicketActionButtons = ({ ticket, statusChatEnd }) => {
|
||||||
|
|
||||||
data = { ...data, 'ticketId': ticket.id }
|
data = { ...data, 'ticketId': ticket.id }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
handleUpdateTicketStatus(null, "closed", user?.id, data)
|
handleUpdateTicketStatus(null, "closed", user?.id, data)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue