feat : fixing dashboard analityc
This commit is contained in:
parent
89375f00b1
commit
19849e6088
|
|
@ -71,22 +71,22 @@ export default function DashboardVisualization() {
|
||||||
setIsInternational(updatedIsInternational);
|
setIsInternational(updatedIsInternational);
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
async function fetchUrl() {
|
// async function fetchUrl() {
|
||||||
console.log("Fetch tableau");
|
// console.log("Fetch tableau");
|
||||||
const urlView = `${url + ticket1}/${view1}${param}`;
|
// const urlView = `${url + ticket1}/${view1}${param}`;
|
||||||
console.log("Fetch tableau ", urlView);
|
// console.log("Fetch tableau ", urlView);
|
||||||
const urlRender = await fetch(urlView)
|
// const urlRender = await fetch(urlView)
|
||||||
.then((response) => {
|
// .then((response) => {
|
||||||
console.log("Tableau res : ", response);
|
// console.log("Tableau res : ", response);
|
||||||
})
|
// })
|
||||||
.catch((error) => {
|
// .catch((error) => {
|
||||||
console.log("Tableau error: ", error);
|
// console.log("Tableau error: ", error);
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
fetchUrl();
|
// fetchUrl();
|
||||||
}, [ticket1]);
|
// }, [ticket1]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-2 bg-white rounded-lg p-3">
|
<div className="flex flex-col gap-2 bg-white rounded-lg p-3">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue