feat: add queue filter to tickets list

This commit is contained in:
canove
2021-01-13 12:22:43 -03:00
parent ef6291c48d
commit aac6d30083
9 changed files with 160 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ import {
import api from "../../services/api";
import { i18n } from "../../translate/i18n";
import toastError from "../../errors/toastError";
import QueueSelector from "../QueueSelector";
import QueueSelect from "../QueueSelect";
const useStyles = makeStyles(theme => ({
root: {
@@ -176,7 +176,7 @@ const WhatsAppModal = ({ open, onClose, whatsAppId }) => {
margin="dense"
/>
</div>
<QueueSelector
<QueueSelect
selectedQueueIds={selectedQueueIds}
onChange={values => setSelectedQueueIds(values)}
/>