mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboards: Widget plugins removed from suggestions tab (#73331)
This commit is contained in:
@@ -37,7 +37,7 @@ export async function getAllSuggestions(data?: PanelData, panel?: PanelModel): P
|
|||||||
|
|
||||||
const list = builder.getList();
|
const list = builder.getList();
|
||||||
|
|
||||||
if (builder.dataSummary.fieldCount === 0) {
|
if (!config.featureToggles.vizAndWidgetSplit && builder.dataSummary.fieldCount === 0) {
|
||||||
for (const plugin of Object.values(config.panels)) {
|
for (const plugin of Object.values(config.panels)) {
|
||||||
if (!plugin.skipDataQuery || plugin.hideFromList) {
|
if (!plugin.skipDataQuery || plugin.hideFromList) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user