mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Lens] Fixes the overwriting of the description when updating a by ref chart (#172653)
## Summary Closes https://github.com/elastic/kibana/issues/170363 Doesn't overwrite the description of a by reference Lens chart when updating.
This commit is contained in:
parent
3ca265abe2
commit
b462e28ac4
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ export const LensTopNavMenu = ({
|
|||
newCopyOnSave: false,
|
||||
isTitleDuplicateConfirmed: false,
|
||||
returnToOrigin: true,
|
||||
newDescription: contextFromEmbeddable ? initialContext.description : '',
|
||||
...(contextFromEmbeddable && { newDescription: initialContext.description }),
|
||||
panelTimeRange: contextFromEmbeddable ? initialContext.panelTimeRange : undefined,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue