Skip to content

Commit

Permalink
Bug Fixes for Vis Builder (#6811) (#6891)
Browse files Browse the repository at this point in the history
* Bug Fixes for Vis Builder
* Changeset file for PR #6811 created/updated

---------



(cherry picked from commit 766a39a)

Signed-off-by: Suchit Sahoo <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 5, 2024
1 parent 987208c commit 8650bd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/6811.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Bug Fixes for Vis Builder ([#6811](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6811))
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
padding: calc($euiSizeS - ($euiSizeXS / 2)) $euiSizeS $euiSizeS $euiSizeS;
background-color: $euiColorLightShade;
border-radius: $euiBorderRadius;
overflow-x: hidden;
}

&__field {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class PersistedState extends EventEmitter {
}

// update the merged state value
const targetObj = this._mergedState || cloneDeep(this._defaultState);
const targetObj = cloneDeep(this._mergedState) || cloneDeep(this._defaultState);
const sourceObj = merge({}, this._changedState);

// handler arguments are (targetValue, sourceValue, key, target, source)
Expand Down

0 comments on commit 8650bd9

Please sign in to comment.