Browse Source

ux(dash edit mode): fix for row height when collapsed

Torkel Ödegaard 9 years ago
parent
commit
bda5cdcb2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/dashboard/row/row.ts

+ 1 - 1
public/app/features/dashboard/row/row.ts

@@ -105,7 +105,7 @@ export function rowDirective($rootScope) {
       row: "=",
     },
     link: function(scope, element) {
-      scope.$watchGroup(['ctrl.row.height'], function() {
+      scope.$watchGroup(['ctrl.row.collapse', 'ctrl.row.height'], function() {
         element.css({minHeight: scope.ctrl.row.collapse ? '5px' : scope.ctrl.row.height});
       });