made replace 'pdf' regex case insensitive

Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
This commit is contained in:
mufaddal motiwala
2021-12-21 18:36:01 +05:30
parent de8aa3afd5
commit 928142523d
@@ -55,7 +55,7 @@ export const DashboardSnapshot = ({
}
const url =
value?.getDashboardSnapshot?.data?.dashboardCreateSnapshotUrl?.replace(
/PDF$/,
/\pdf$/i,
'png',
);
return (