Skip to content

Commit 4a13540

Browse files
committed
fix
1 parent e9ab6ec commit 4a13540

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/sim/app/workspace/providers/socket-provider.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@ export function SocketProvider({ children, user }: SocketProviderProps) {
604604
const result = joinControllerRef.current.handleAccessRevoked(data.workflowId)
605605
if (result.shouldClearCurrent) {
606606
clearJoinedWorkflowState(true)
607+
// Surface the same blocked-join UX as a denied join: persistent
608+
// toast plus read-only enforcement while the user is still on the
609+
// revoked workflow.
610+
setBlockedJoinWorkflowId(data.workflowId)
607611
}
608612
executeJoinCommands(result.commands)
609613
eventHandlers.current.accessRevoked?.(data)

0 commit comments

Comments
 (0)