mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
E2C: Use cloudMigrationIsTarget config (#84654)
Use cloudMigrationIsTarget config
This commit is contained in:
parent
00f16cd018
commit
fbb6ae35e7
@ -7,8 +7,5 @@ import { Page as CloudPage } from './cloud/Page';
|
||||
import { Page as OnPremPage } from './onprem/Page';
|
||||
|
||||
export default function MigrateToCloud() {
|
||||
// TODO replace this with a proper config value when it's available
|
||||
const isMigrationTarget = config.namespace.startsWith('stack-');
|
||||
|
||||
return <Page navId="migrate-to-cloud">{isMigrationTarget ? <CloudPage /> : <OnPremPage />}</Page>;
|
||||
return <Page navId="migrate-to-cloud">{config.cloudMigrationIsTarget ? <CloudPage /> : <OnPremPage />}</Page>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user