v0.0.20: Remove debug logging, clean up custom ListView

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-03 21:16:19 +02:00
parent eefe9bdaf3
commit 05952e3e72
3 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@xtr-dev/payload-feature-flags",
"version": "0.0.19",
"version": "0.0.20",
"description": "Feature flags plugin for Payload CMS - manage feature toggles, A/B tests, and gradual rollouts",
"license": "MIT",
"type": "module",

View File

@@ -238,7 +238,7 @@ const FeatureFlagsClientComponent = ({
color: styles.text,
margin: '0 0 0.5rem 0'
}}>
Feature Flags Dashboard
Feature Flags
</h1>
<p style={{
color: styles.textMuted,
@@ -666,4 +666,4 @@ const FeatureFlagsClientComponent = ({
}
export const FeatureFlagsClient = memo(FeatureFlagsClientComponent)
export default FeatureFlagsClient
export default FeatureFlagsClient

View File

@@ -19,9 +19,6 @@ 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