mirror of
https://github.com/xtr-dev/payload-feature-flags.git
synced 2025-12-10 10:53:24 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be24beeaa5 | ||
| 05952e3e72 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@xtr-dev/payload-feature-flags",
|
"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",
|
"description": "Feature flags plugin for Payload CMS - manage feature toggles, A/B tests, and gradual rollouts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ const FeatureFlagsClientComponent = ({
|
|||||||
color: styles.text,
|
color: styles.text,
|
||||||
margin: '0 0 0.5rem 0'
|
margin: '0 0 0.5rem 0'
|
||||||
}}>
|
}}>
|
||||||
Feature Flags Dashboard
|
Feature Flags
|
||||||
</h1>
|
</h1>
|
||||||
<p style={{
|
<p style={{
|
||||||
color: styles.textMuted,
|
color: styles.textMuted,
|
||||||
@@ -666,4 +666,4 @@ const FeatureFlagsClientComponent = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const FeatureFlagsClient = memo(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) {
|
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
|
const { collectionConfig, user, permissions, payload } = props
|
||||||
|
|
||||||
// Security check: User must be logged in
|
// Security check: User must be logged in
|
||||||
|
|||||||
Reference in New Issue
Block a user