From 49c10c7091645d7983f38e598327345853750f86 Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Fri, 3 Oct 2025 20:10:10 +0200 Subject: [PATCH] Add debug logging to diagnose ListView props MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/views/FeatureFlagsView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/FeatureFlagsView.tsx b/src/views/FeatureFlagsView.tsx index 68b6bab..aa319e0 100644 --- a/src/views/FeatureFlagsView.tsx +++ b/src/views/FeatureFlagsView.tsx @@ -19,6 +19,9 @@ async function fetchInitialFlags(payload: any, collectionSlug: string): Promise< } export default async function FeatureFlagsView(props: ListViewServerProps) { + // Debug: log what props we actually receive + console.log('FeatureFlagsView props keys:', Object.keys(props)) + const { collectionConfig, user, permissions, payload } = props // Security check: User must be logged in