Use promises to order the updates of variable options so that parents are always updated before children. This ensures that we only need to query the datasource once per variable as variables that depend on other variables will only be processed once their parent has been. This commit also ensures that variable options are refreshed if "refresh_on_load" is true even when query params are used to set the variable seltion.
Name |
Last commit
|
Last Update |
---|---|---|
.hooks | Loading commit data... | |
Godeps | Loading commit data... | |
benchmarks/ab | Loading commit data... | |
conf | Loading commit data... | |
docker | Loading commit data... | |
docs | Loading commit data... | |
emails | Loading commit data... | |
examples | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
public | Loading commit data... | |
tasks | Loading commit data... | |
tests | Loading commit data... | |
vendor/phantomjs | Loading commit data... | |
.bowerrc | Loading commit data... | |
.bra.toml | Loading commit data... | |
.editorconfig | Loading commit data... | |
.gitignore | Loading commit data... | |
.jscs.json | Loading commit data... | |
.jsfmtrc | Loading commit data... | |
.jshintrc | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Gruntfile.js | Loading commit data... | |
LICENSE.md | Loading commit data... | |
NOTICE.md | Loading commit data... | |
README.md | Loading commit data... | |
appveyor.yml | Loading commit data... | |
bower.json | Loading commit data... | |
build.go | Loading commit data... | |
circle.yml | Loading commit data... | |
karma.conf.js | Loading commit data... | |
latest.json | Loading commit data... | |
package.json | Loading commit data... | |
symlink_git_hooks.sh | Loading commit data... | |
test.sh | Loading commit data... | |
trigger_grafana_packer.sh | Loading commit data... | |
tsconfig.json | Loading commit data... | |
tsd.json | Loading commit data... | |
tslint.json | Loading commit data... |