mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[8.16] [dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables (#216910) (#216927)
# Backport This will backport the following commits from `8.17` to `8.16`: - [[dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables (#216910)](https://github.com/elastic/kibana/pull/216910) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-04-02T20:24:24Z","message":"[dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables (#216910)\n\n8.16 and 8.17 fix for https://github.com/elastic/kibana/issues/216886\n\nSee https://github.com/elastic/kibana/pull/216901 for details","sha":"2fe3abc40811fc10dd2cdd9af72f93e68b0526fa","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","backport:version","v8.17.5","v8.16.7"],"title":"[dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables","number":216910,"url":"https://github.com/elastic/kibana/pull/216910","mergeCommit":{"message":"[dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables (#216910)\n\n8.16 and 8.17 fix for https://github.com/elastic/kibana/issues/216886\n\nSee https://github.com/elastic/kibana/pull/216901 for details","sha":"2fe3abc40811fc10dd2cdd9af72f93e68b0526fa"}},"sourceBranch":"8.17","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"8.17","label":"v8.17.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216910","number":216910,"mergeCommit":{"message":"[dashboard][8.17][8.16] fix State being dropped when editing visualize embeddables (#216910)\n\n8.16 and 8.17 fix for https://github.com/elastic/kibana/issues/216886\n\nSee https://github.com/elastic/kibana/pull/216901 for details","sha":"2fe3abc40811fc10dd2cdd9af72f93e68b0526fa"}},{"branch":"8.16","label":"v8.16.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
This commit is contained in:
parent
1233ff8274
commit
4a0d3a5c81
1 changed files with 4 additions and 1 deletions
|
@ -346,7 +346,10 @@ export class DashboardContainer
|
|||
this.hasOverlays$ = dashboardApi.hasOverlays$;
|
||||
this.openOverlay = dashboardApi.openOverlay;
|
||||
this.hasRunMigrations$ = dashboardApi.hasRunMigrations$;
|
||||
this.setLastSavedInput = dashboardApi.setLastSavedInput;
|
||||
this.setLastSavedInput = (lastSavedInput: DashboardContainerInput) => {
|
||||
dashboardApi.setLastSavedInput(lastSavedInput);
|
||||
this.setPanels(lastSavedInput.panels);
|
||||
};
|
||||
this.lastSavedInput$ = dashboardApi.lastSavedInput$;
|
||||
this.savedObjectId = dashboardApi.savedObjectId;
|
||||
this.setSavedObjectId = dashboardApi.setSavedObjectId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue