Enable insights debugging in preview

This commit is contained in:
Sam Becker 2025-02-11 18:18:54 -06:00
parent 4af7ac6b13
commit 00582985b1
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import {
getUniqueTags,
} from '@/photo/db/query';
import AdminAppInsightsClient from './AdminAppInsightsClient';
import { APP_CONFIGURATION, IS_DEVELOPMENT } from '@/app-core/config';
import { APP_CONFIGURATION } from '@/app-core/config';
export default async function AdminAppInsights() {
const [
{ count, dateRange },
@ -43,7 +43,7 @@ export default async function AdminAppInsights() {
lensesCount: lenses.length,
dateRange,
}}
debug={IS_DEVELOPMENT}
debug
/>
);
}

View File

@ -64,8 +64,7 @@ export default function AdminAppInsightsClient({
{renderTitle('Code Observability')}
{(fork || debug) &&
<Note icon={<IconGrSync />}>
Consider forking this repository in order to
receive new features and fixes
Consider forking this repository to receive new features and fixes
</Note>}
{(forkBehind || debug) &&
<WarningNote>