Skip to content

Commit 19509d1

Browse files
committed
ux(dashboard): minor fix, grafana#6442
1 parent 40ea014 commit 19509d1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

public/app/core/services/keybindingSrv.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export class KeybindingSrv {
109109
}
110110

111111
scope.appEvent('hide-dash-editor');
112-
113112
scope.exitFullscreen();
114113
});
115114
}

public/app/features/dashboard/all.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ define([
55
'./dashnav/dashnav',
66
'./submenu/submenu',
77
'./saveDashboardAsCtrl',
8-
'./rowCtrl',
98
'./shareModalCtrl',
109
'./shareSnapshotCtrl',
1110
'./dashboard_srv',

public/app/features/dashboard/row/row.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
</div>
4141
</div>
4242

43-
<div ng-if="!ctrl.dashboard.editMode && ctrl.row.showTitle">
44-
<div class="dash-row-header">
43+
<div ng-if="!ctrl.dashboard.editMode">
44+
<div class="dash-row-header" ng-if="ctrl.showtitle">
4545
<a class="dash-row-header-title" ng-click="ctrl.toggleCollapse()">
4646
<span class="dash-row-collapse-toggle pointer">
4747
<i class="fa fa-chevron-down" ng-show="!ctrl.row.collapse"></i>
@@ -53,7 +53,7 @@
5353
</div>
5454

5555
<div class="panels-wrapper" ng-if="!ctrl.row.collapse">
56-
<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>
56+
<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>
5757
<plugin-component type="panel" class="panel-margin">
5858
</plugin-component>
5959
</div>

0 commit comments

Comments
 (0)