Explorar o código

ignore team on highlight

jusrhee %!s(int64=5) %!d(string=hai) anos
pai
achega
fb0be30fa7
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      dashboard/src/main/home/Home.tsx

+ 4 - 1
dashboard/src/main/home/Home.tsx

@@ -220,7 +220,10 @@ class Home extends Component<PropsType, StateType> {
     let { user } = this.context;
 
     // Initialize Highlight
-    if (window.location.href.includes("dashboard.getporter.dev")) {
+    if (
+      window.location.href.includes("dashboard.getporter.dev")
+      && !user.email.includes("@getporter.dev")
+    ) {
       H.init("y2d13lgr");
       H.identify(user.email, { id: user.id });
     }