Commit 19509d1e by Torkel Ödegaard

ux(dashboard): minor fix, #6442

parent 40ea014f
...@@ -109,7 +109,6 @@ export class KeybindingSrv { ...@@ -109,7 +109,6 @@ export class KeybindingSrv {
} }
scope.appEvent('hide-dash-editor'); scope.appEvent('hide-dash-editor');
scope.exitFullscreen(); scope.exitFullscreen();
}); });
} }
......
...@@ -5,7 +5,6 @@ define([ ...@@ -5,7 +5,6 @@ define([
'./dashnav/dashnav', './dashnav/dashnav',
'./submenu/submenu', './submenu/submenu',
'./saveDashboardAsCtrl', './saveDashboardAsCtrl',
'./rowCtrl',
'./shareModalCtrl', './shareModalCtrl',
'./shareSnapshotCtrl', './shareSnapshotCtrl',
'./dashboard_srv', './dashboard_srv',
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
</div> </div>
</div> </div>
<div ng-if="!ctrl.dashboard.editMode && ctrl.row.showTitle"> <div ng-if="!ctrl.dashboard.editMode">
<div class="dash-row-header"> <div class="dash-row-header" ng-if="ctrl.showtitle">
<a class="dash-row-header-title" ng-click="ctrl.toggleCollapse()"> <a class="dash-row-header-title" ng-click="ctrl.toggleCollapse()">
<span class="dash-row-collapse-toggle pointer"> <span class="dash-row-collapse-toggle pointer">
<i class="fa fa-chevron-down" ng-show="!ctrl.row.collapse"></i> <i class="fa fa-chevron-down" ng-show="!ctrl.row.collapse"></i>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
<div class="panels-wrapper" ng-if="!ctrl.row.collapse"> <div class="panels-wrapper" ng-if="!ctrl.row.collapse">
<div ng-repeat="panel in ctrl.row.panels track by panel.id" class="panel" ui-draggable="ctrl.dashboard.editMode" drag="panel.id" ui-on-drop="ctrl.onDrop($data, panel)" drag-handle-class="drag-handle" panel-width> <div ng-repeat="panel in ctrl.row.panels track by panel.id" class="panel" ui-draggable="!ctrl.dashboard.meta.fullscreen" drag="panel.id" ui-on-drop="ctrl.onDrop($data, panel)" drag-handle-class="drag-handle" panel-width>
<plugin-component type="panel" class="panel-margin"> <plugin-component type="panel" class="panel-margin">
</plugin-component> </plugin-component>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment