From 69955ae80cf799a63ff29873ce62a5601207f0e5 Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Tue, 14 Oct 2025 19:37:19 -0300 Subject: [PATCH] Surface machine context when collaborator missing --- src/components/portal/portal-shell.tsx | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/components/portal/portal-shell.tsx b/src/components/portal/portal-shell.tsx index ee10517..dbfa8c8 100644 --- a/src/components/portal/portal-shell.tsx +++ b/src/components/portal/portal-shell.tsx @@ -155,6 +155,38 @@ export function PortalShell({ children }: PortalShellProps) { Recuperando dados do colaborador vinculado... ) : null} + {!machineContextError && !machineContextLoading && machineContext && !machineContext.assignedUserId ? ( +
+

Debug: m�quina autenticada sem colaborador vinculado.

+

+ Copie os dados abaixo e compartilhe com o suporte para investigar. +

+
+              {JSON.stringify(machineContext, null, 2)}
+            
+ +
+ ) : null} {children}