mirror of
https://github.com/xtr-dev/payload-feature-flags.git
synced 2025-12-08 00:13:23 +00:00
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:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user