TP-55494 | hotfix for ameyo (#1069)

This commit is contained in:
Varnit Goyal
2024-08-07 11:13:05 +05:30
committed by GitHub
parent 11514adfe8
commit 900597963d

View File

@@ -46,6 +46,7 @@ import { noop } from '@navi/web-ui/lib/utils/common';
import { FilterKeys } from '@cp/src/components/FilterDrawer/constants';
import { logError } from '@cp/src/utils/ApiHelper';
import axios from 'axios';
import { POST_MESSAGE_IDENTIFIER } from '@cp/constants/Global';
const Cases = () => {
const dispatch = useDispatch();
@@ -124,6 +125,13 @@ const Cases = () => {
tableRef?.current?.api?.sizeColumnsToFit();
}, [loading]);
useEffect(() => {
window.postMessage({
type: POST_MESSAGE_IDENTIFIER.RECONFIGURE_CLIENT,
data: 'LONGHORN'
});
}, []);
const updateQueryParamsAndNavigate = (
params?: QueryParams,
lastUsed?: string,