Enable insights debugging in preview
This commit is contained in:
parent
4af7ac6b13
commit
00582985b1
@ -6,7 +6,7 @@ import {
|
|||||||
getUniqueTags,
|
getUniqueTags,
|
||||||
} from '@/photo/db/query';
|
} from '@/photo/db/query';
|
||||||
import AdminAppInsightsClient from './AdminAppInsightsClient';
|
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() {
|
export default async function AdminAppInsights() {
|
||||||
const [
|
const [
|
||||||
{ count, dateRange },
|
{ count, dateRange },
|
||||||
@ -43,7 +43,7 @@ export default async function AdminAppInsights() {
|
|||||||
lensesCount: lenses.length,
|
lensesCount: lenses.length,
|
||||||
dateRange,
|
dateRange,
|
||||||
}}
|
}}
|
||||||
debug={IS_DEVELOPMENT}
|
debug
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -64,8 +64,7 @@ export default function AdminAppInsightsClient({
|
|||||||
{renderTitle('Code Observability')}
|
{renderTitle('Code Observability')}
|
||||||
{(fork || debug) &&
|
{(fork || debug) &&
|
||||||
<Note icon={<IconGrSync />}>
|
<Note icon={<IconGrSync />}>
|
||||||
Consider forking this repository in order to
|
Consider forking this repository to receive new features and fixes
|
||||||
receive new features and fixes
|
|
||||||
</Note>}
|
</Note>}
|
||||||
{(forkBehind || debug) &&
|
{(forkBehind || debug) &&
|
||||||
<WarningNote>
|
<WarningNote>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user