Browse Source

remove cookie issue (#1967)

Dinh Long Nguyen 7 tháng trước cách đây
mục cha
commit
08c119d813
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  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 {