Multiple data sources support for triggers panel, #431
This commit is contained in:
@@ -32,7 +32,7 @@ class DatasourceSelectorCtrl {
|
||||
multi: true,
|
||||
current: {value: datasources, text: datasources.join(" + ")},
|
||||
options: _.map(options, (ds) => {
|
||||
return {text: ds, value: ds};
|
||||
return {text: ds, value: ds, selected: _.includes(datasources, ds)};
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user