Skip to content

Commit 1b8a81d

Browse files
committed
fix(alerting): fixed reducer change issue, fixes grafana#6241
1 parent 3d59349 commit 1b8a81d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

public/app/core/components/query_part/query_part_editor.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,9 @@ export function queryPartEditorDirective($compile, templateSrv) {
128128
}
129129

130130
$scope.showActionsMenu = function() {
131-
if ($scope.partActions.length === 0) {
132-
$scope.handleEvent({$event: {name: 'get-part-actions'}}).then(res => {
133-
$scope.partActions = res;
134-
});
135-
}
131+
$scope.handleEvent({$event: {name: 'get-part-actions'}}).then(res => {
132+
$scope.partActions = res;
133+
});
136134
};
137135

138136
$scope.triggerPartAction = function(action) {

0 commit comments

Comments
 (0)