Procházet zdrojové kódy

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

Torkel Ödegaard před 9 roky
rodič
revize
1b8a81d4ba

+ 3 - 5
public/app/core/components/query_part/query_part_editor.ts

@@ -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) {