File tree 2 files changed +9
-3
lines changed
directives/wz-config-viewer
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,11 @@ class WzConfigViewer {
81
81
const bottom = $scope . isLogs ? 75 : 20 ;
82
82
const headerContainer = $ ( '.wzXmlEditorHeader' ) ;
83
83
const headerContainerHeight =
84
- headerContainer . height ( ) + 30 ? headerContainer . height ( ) + 30 : 80 ;
84
+ headerContainer . height ( ) + 30
85
+ ? headerContainer . height ( ) + 30
86
+ : $scope . isLogs
87
+ ? 0
88
+ : 80 ;
85
89
editorContainer . height ( windows - ( offsetTop + bottom ) ) ;
86
90
$ ( '.wzXmlEditorBody .CodeMirror' ) . height (
87
91
windows - ( offsetTop + bottom + headerContainerHeight )
Original file line number Diff line number Diff line change @@ -1035,9 +1035,11 @@ function discoverController(
1035
1035
$scope . tabView = $location . search ( ) . tabView || 'panels' ;
1036
1036
const changeTabViewListener = $rootScope . $on (
1037
1037
'changeTabView' ,
1038
- ( evt , parameters ) => {
1038
+ async ( evt , parameters ) => {
1039
1039
$scope . pinnedFilters = getPinnedFilters ( ) ;
1040
- queryFilter . removeAll ( ) ;
1040
+ if ( parameters . tabView !== 'discover' ) {
1041
+ queryFilter . removeAll ( ) ;
1042
+ }
1041
1043
evt . stopPropagation ( ) ;
1042
1044
$scope . tabView = parameters . tabView || 'panels' ;
1043
1045
}
You can’t perform that action at this time.
0 commit comments