Skip to content

Commit

Permalink
Update common/utils/fetch_datasources.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Li <[email protected]>
Signed-off-by: Sumukh Swamy <[email protected]>
  • Loading branch information
sumukhswamy and joshuali925 authored Apr 25, 2024
1 parent 3b5137d commit 5a08ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/utils/fetch_datasources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { CoreStart } from "../../../../src/core/public";

export const fetchDataSources = (http: CoreStart['http'], dataSourceMDSId: string, urlDataSource: string, onSuccess, onError) => {
let dataOptions: { label: string; options?: any; }[] = [];
let dataOptions: { label: string; options?: Array<{ label: string }>; }[] = [];
let urlSourceFound = false;
if(!dataSourceMDSId){
dataSourceMDSId = ''
Expand Down

0 comments on commit 5a08ea2

Please sign in to comment.