浏览代码

remove cookie issue (#1967)

Dinh Long Nguyen 7 月之前
父节点
当前提交
08c119d813
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      frontend/taipy-gui/src/components/Taipy/Navigate.tsx

+ 1 - 3
frontend/taipy-gui/src/components/Taipy/Navigate.tsx

@@ -63,9 +63,7 @@ const Navigate = ({ to, params, tab, force }: NavigateProps) => {
                     // Handle Resource Handler Id
                     const tprh = params?.tprh;
                     if (tprh !== undefined) {
-                        // Add a session cookie for the resource handler id
-                        document.cookie = `tprh=${tprh};path=/;`;
-                        navigate(0);
+                        return
                     }
                 }
             } else {