File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ in progress
77===========
88- Fixed 404 error on "dash-folder" type when enumerating dashboards.
99 Thanks, @oxy-star and @GarbageYard.
10+ - Fixed collecting data sources defined by dashboard variables. Thanks,
11+ @GrgDev, @cronosnull, and @nikodemas.
1012
11132025-03-18 0.23.0
1214=================
Original file line number Diff line number Diff line change @@ -715,10 +715,10 @@ def add(item):
715715 # Datasources defined as variables.
716716 if "type" in node and node ["type" ] == "datasource" :
717717 values = to_list (node .get ("current" , {}).get ("value" ))
718- for ds_uid in values :
719- datasource = self .datasource_by_uid .get (ds_uid )
718+ for ds_name in values :
719+ datasource = self .datasource_by_name .get (ds_name )
720720 if datasource is None :
721- log .warning (f"Data source '{ ds_uid } ' not found" )
721+ log .warning (f"Data source '{ ds_name } ' not found" )
722722 continue
723723 ds = dict (
724724 type = datasource .get ("type" ),
You can’t perform that action at this time.
0 commit comments