fix(alerting): fixed reducer change issue, fixes #6241

This commit is contained in:
Torkel Ödegaard
2016-10-12 07:04:39 +02:00
parent 3d593492c9
commit 1b8a81d4ba

View File

@@ -128,11 +128,9 @@ export function queryPartEditorDirective($compile, templateSrv) {
}
$scope.showActionsMenu = function() {
if ($scope.partActions.length === 0) {
$scope.handleEvent({$event: {name: 'get-part-actions'}}).then(res => {
$scope.partActions = res;
});
}
$scope.handleEvent({$event: {name: 'get-part-actions'}}).then(res => {
$scope.partActions = res;
});
};
$scope.triggerPartAction = function(action) {