mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Visualize] Changed the vizualize directive to also accept the chrome module
This commit is contained in:
parent
644e485a97
commit
bec0201905
4 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
<visualize ng-switch-when="visualization"
|
||||
vis="savedObj.vis"
|
||||
search-source="savedObj.searchSource"
|
||||
chrome="chrome"
|
||||
class="panel-content">
|
||||
</visualize>
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
|
||||
</header>
|
||||
|
||||
<visualize ng-if="vis && rows.length != 0" vis="vis" es-resp="mergedEsResp" search-source="searchSource"></visualize>
|
||||
<visualize ng-if="vis && rows.length != 0" chrome="chrome" vis="vis" es-resp="mergedEsResp" search-source="searchSource"></visualize>
|
||||
</div>
|
||||
|
||||
<div class="discover-table" fixed-scroll>
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<visualize vis="vis" editable-vis="editableVis" search-source="savedVis.searchSource"></visualize>
|
||||
<visualize chrome="chrome" vis="vis" editable-vis="editableVis" search-source="savedVis.searchSource"></visualize>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ define(function (require) {
|
|||
return {
|
||||
restrict: 'E',
|
||||
scope : {
|
||||
chrome: '=',
|
||||
vis: '=',
|
||||
editableVis: '=?',
|
||||
esResp: '=?',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue