mirror of
https://github.com/xtr-dev/payload-feature-flags.git
synced 2025-12-10 02:43:25 +00:00
Add debug logging to diagnose ListView props
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user