Skip to content

Commit

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

---------

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
LDrago27 and opensearch-changeset-bot[bot] authored Jun 3, 2024
1 parent ddd7377 commit 766a39a
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 766a39a

Please sign in to comment.