Commit 19509d1e by Torkel Ödegaard

ux(dashboard): minor fix, #6442

parent 40ea014f
......@@ -109,7 +109,6 @@ export class KeybindingSrv {
}
scope.appEvent('hide-dash-editor');
scope.exitFullscreen();
});
}
......
......@@ -5,7 +5,6 @@ define([
'./dashnav/dashnav',
'./submenu/submenu',
'./saveDashboardAsCtrl',
'./rowCtrl',
'./shareModalCtrl',
'./shareSnapshotCtrl',
'./dashboard_srv',
......
......@@ -40,8 +40,8 @@
</div>
</div>
<div ng-if="!ctrl.dashboard.editMode && ctrl.row.showTitle">
<div class="dash-row-header">
<div ng-if="!ctrl.dashboard.editMode">
<div class="dash-row-header" ng-if="ctrl.showtitle">
<a class="dash-row-header-title" ng-click="ctrl.toggleCollapse()">
<span class="dash-row-collapse-toggle pointer">
<i class="fa fa-chevron-down" ng-show="!ctrl.row.collapse"></i>
......@@ -53,7 +53,7 @@
</div>
<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>
</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