Skip to content

Commit

Permalink
fix(ui): fixed regression bug that preventing variable maps from prop…
Browse files Browse the repository at this point in the history
…erly assigning values
  • Loading branch information
asalem1 committed Mar 3, 2020
1 parent 31cfbde commit 3aceda8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui/src/variables/utils/hydrateVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const mapVariableValues = (
prevSelection: string,
defaultSelection: string
): VariableValues => {
const values: string[] = Object.keys(variable.arguments.values)
const values: string[] = Object.values(variable.arguments.values)

return {
valueType: 'string',
Expand Down
8 changes: 4 additions & 4 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1016,10 +1016,10 @@
resolved "https://registry.yarnpkg.com/@influxdata/clockface/-/clockface-1.1.5.tgz#dfedc4f59788717d5e92bd00935dda35c0c60fc8"
integrity sha512-5+RDswLCiOBX21rey6e1j4vrwQ6obwMv+qcP6ucH7y0vTRnAaMk9lqKqHH3FGUqUEfBNegtj4Ho8430ywfS6ag==

"@influxdata/flux-lsp-browser@^0.2.2":
version "0.2.2"
resolved "https://registry.yarnpkg.com/@influxdata/flux-lsp-browser/-/flux-lsp-browser-0.2.2.tgz#766ef965da25149ac300df6db1a64ad277b5b50b"
integrity sha512-MlFmu7gVdgJ1pkoC1CRaWmjedi6IuSJa2Bg3vDl0l/1cJyAShtoDs8levYvL0gqcKyvq/i/baXrNXF+SCIM7MQ==
"@influxdata/flux-lsp-browser@0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@influxdata/flux-lsp-browser/-/flux-lsp-browser-0.3.1.tgz#472bdd4b82b239955776133c299eea3643237041"
integrity sha512-G813h+ytOnSxjjdNhAjwz+6iL+nZn425eMsCR08fajvMNztbk3GpY5X7LLA7f8JXIsVg1SCczkmSpGkK3lWKSg==

"@influxdata/flux-parser@^0.3.0":
version "0.3.0"
Expand Down

0 comments on commit 3aceda8

Please sign in to comment.