Skip to content
Snippets Groups Projects
Unverified Commit 3126b51a authored by Aleksander Nicacio da Silva's avatar Aleksander Nicacio da Silva Committed by GitHub
Browse files

fix: Canned responses filter not working (#29648)

parent 2ddb5661
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,10 @@ const CannedResponsesTable = () => {
);
const getCannedResponses = useEndpoint('GET', '/v1/canned-responses');
const { data, isLoading, isSuccess, refetch } = useQuery(['canned-responses', debouncedText], () => getCannedResponses(query));
const { data, isLoading, isSuccess, refetch } = useQuery(
['/v1/canned-responses', { debouncedText, sortDirection, itemsPerPage, current, sharing, createdBy }],
() => getCannedResponses(query),
);
const getTime = useFormatDateAndTime();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment