grafana/public/app/features/datasources/components
mikkancso edb86d4bf3
DataSources: fix DataSourceAddButton component (#60176)
* fix DataSourceAddButton component

This component implicitly returned `false` when `canCreateDataSource`
was false, and that way it didn't qualify as a function component.
We fixed it to explicitly return null in this case.

* DataSourceAddButton: update function signature

This is more consistent with other code in this codebase.
2022-12-15 09:25:03 +01:00
..
BasicSettings.test.tsx Accessibility: enable rule jsx-a11y/label-has-associated-control (#57964) 2022-11-01 14:37:58 +00:00
BasicSettings.tsx Alerting: fix alert supported warning when editing data source name (#55886) 2022-09-28 14:41:54 +02:00
ButtonRow.test.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
ButtonRow.tsx Chore: fix some anys pt.2 (#53928) 2022-08-22 16:51:33 +01:00
CloudInfoBox.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DashboardsTable.test.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DashboardsTable.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceAddButton.tsx DataSources: fix DataSourceAddButton component (#60176) 2022-12-15 09:25:03 +01:00
DataSourceCategories.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceDashboards.test.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceDashboards.tsx Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00
DataSourceLoadError.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceMissingRightsMessage.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourcePluginConfigPage.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourcePluginSettings.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourcePluginState.tsx Accessibility: enable rule jsx-a11y/label-has-associated-control (#57964) 2022-11-01 14:37:58 +00:00
DataSourceReadOnlyMessage.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourcesList.test.tsx Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00
DataSourcesList.tsx Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00
DataSourcesListHeader.tsx Navigation: conditionally use actions in DataSourceListPage (#60300) 2022-12-14 13:19:29 +00:00
DataSourceTestingStatus.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceTypeCard.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
DataSourceTypeCardList.tsx DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
EditDataSource.test.tsx Plugins: Added hook to make it easier to track interactions in plugins (#56126) 2022-11-02 16:57:57 +01:00
EditDataSource.tsx Plugins: Added hook to make it easier to track interactions in plugins (#56126) 2022-11-02 16:57:57 +01:00
NewDataSource.tsx Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00