Merge pull request #3357 from influxdata/bugfix/tempvars-loading-one-val

Load all template variable values
pull/3363/head
Iris Scholten 2018-05-03 10:09:59 -07:00 committed by GitHub
commit f7af6ac247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,6 @@
1. [#3354](https://github.com/influxdata/chronograf/pull/3354): Disable template variables for non editing users
1. [#3353](https://github.com/influxdata/chronograf/pull/3353): YAxisLabels in Dashboard Graph Builder not showing until graph is redrawn
### Bug Fixes
1. [#3252](https://github.com/influxdata/chronograf/pull/3252): Allows users to select tickscript editor with mouse
@ -27,6 +26,7 @@
1. [#3345](https://github.com/influxdata/chronograf/pull/3345): Fix auto not showing in the group by dropdown and explorer getting disconnected
1. [#3353](https://github.com/influxdata/chronograf/pull/3353): Display y-axis label on initial graph load
1. [#3352](https://github.com/influxdata/chronograf/pull/3352): Fix not being able to change the source in the CEO display
1. [#3357](https://github.com/influxdata/chronograf/pull/3357): Fix only the selected template variable value getting loaded
## v1.4.4.1 [2018-04-16]

View File

@ -111,8 +111,8 @@ class DashboardPage extends Component {
// If using auth and role is Viewer, temp vars will be stale until dashboard
// is refactored so as not to require a write operation (a PUT in this case)
if (!isUsingAuth || isUserAuthorized(meRole, EDITOR_ROLE)) {
await updateTempVarValues(source, dashboard)
await putDashboardByID(dashboardID)
await updateTempVarValues(source, dashboard)
}
}