mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Merge pull request #7185 from epixa/fix-visstate-title
Adds title to visState before the visualization is saved
This commit is contained in:
commit
b93578d8f9
1 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,8 @@ uiModules
|
|||
|
||||
$scope.doSave = function () {
|
||||
savedVis.id = savedVis.title;
|
||||
// vis.title was not bound and it's needed to reflect title into visState
|
||||
$state.vis.title = savedVis.title;
|
||||
savedVis.visState = $state.vis;
|
||||
savedVis.uiStateJSON = angular.toJson($scope.uiState.getChanges());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue