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 @@ -121,6 +121,7 @@ export function ResourceSelector(props: ResourceSelectorProps) {
121121 < Select
122122 { ...props }
123123 id = { props . id }
124+ inputId = { props . id }
124125 aria-label = { props . label }
125126 options = { options }
126127 onChange = { onChange }
@@ -141,6 +142,7 @@ export function ResourceSelector(props: ResourceSelectorProps) {
141142 < Select
142143 { ...props }
143144 id = { props . id }
145+ inputId = { props . id }
144146 aria-label = { props . label }
145147 options = { options }
146148 onChange = { onChange }
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ export function filterSQLQuery(query: SQLQuery): boolean {
99 return ! ! query . rawSQL ;
1010}
1111
12- export function applySQLTemplateVariables (
13- query : SQLQuery ,
12+ export function applySQLTemplateVariables < T extends SQLQuery > (
13+ query : T ,
1414 scopedVars : ScopedVars ,
1515 getTemplateSrv : ( ) => any
16- ) : SQLQuery {
16+ ) : T {
1717 const templateSrv = getTemplateSrv ( ) ;
1818 return {
1919 ...query ,
You can’t perform that action at this time.
0 commit comments