mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Admin/Plugins: Change alert about Connections to subtitle (#65913)
* change ConnectionRedirectNotice to a subtitle on Admin/Plugins * cleanup ConnectionsRedirectNotice a bit
This commit is contained in:
@@ -2,10 +2,7 @@ import React from 'react';
|
||||
|
||||
import { config } from '@grafana/runtime';
|
||||
import { Page } from 'app/core/components/Page/Page';
|
||||
import {
|
||||
ConnectionsRedirectNotice,
|
||||
DestinationPage,
|
||||
} from 'app/features/connections/components/ConnectionsRedirectNotice';
|
||||
import { ConnectionsRedirectNotice } from 'app/features/connections/components/ConnectionsRedirectNotice';
|
||||
import { StoreState, useSelector } from 'app/types';
|
||||
|
||||
import { DataSourceAddButton } from '../components/DataSourceAddButton';
|
||||
@@ -19,9 +16,7 @@ export function DataSourcesListPage() {
|
||||
return (
|
||||
<Page navId="datasources" actions={actions}>
|
||||
<Page.Contents>
|
||||
{config.featureToggles.dataConnectionsConsole && (
|
||||
<ConnectionsRedirectNotice destinationPage={DestinationPage.dataSources} />
|
||||
)}
|
||||
{config.featureToggles.dataConnectionsConsole && <ConnectionsRedirectNotice />}
|
||||
<DataSourcesList />
|
||||
</Page.Contents>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user