Enable insights debugging in preview
This commit is contained in:
parent
4af7ac6b13
commit
00582985b1
@ -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
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user