Skip to content

Commit

Permalink
Fix incorrect injection of $scope for minification
Browse files Browse the repository at this point in the history
  • Loading branch information
raitisbe committed Jul 22, 2019
1 parent 8a29afd commit 53db103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/layout/layout-panel-header.directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export default ['config', 'Core', function (config, Core) {
panelName: "@",
panelTitle: "=panelTitle"
},
controller: function ($scope) {
controller: ['$scope', function ($scope) {
$scope.closePanel = Core.closePanel;
}
}]
};
}]

0 comments on commit 53db103

Please sign in to comment.