Explorar o código

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

Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
1b8a81d4ba
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      public/app/core/components/query_part/query_part_editor.ts

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