Skip to content

Commit bda5cdc

Browse files
committed
ux(dash edit mode): fix for row height when collapsed
1 parent 591f653 commit bda5cdc

File tree

1 file changed

+1
-1
lines changed
  • public/app/features/dashboard/row

1 file changed

+1
-1
lines changed

public/app/features/dashboard/row/row.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function rowDirective($rootScope) {
105105
row: "=",
106106
},
107107
link: function(scope, element) {
108-
scope.$watchGroup(['ctrl.row.height'], function() {
108+
scope.$watchGroup(['ctrl.row.collapse', 'ctrl.row.height'], function() {
109109
element.css({minHeight: scope.ctrl.row.collapse ? '5px' : scope.ctrl.row.height});
110110
});
111111

0 commit comments

Comments
 (0)