From 1b8a81d4ba6e728d97589f53b2cd916fafaa93c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 12 Oct 2016 07:04:39 +0200 Subject: [PATCH] fix(alerting): fixed reducer change issue, fixes #6241 --- .../app/core/components/query_part/query_part_editor.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/public/app/core/components/query_part/query_part_editor.ts b/public/app/core/components/query_part/query_part_editor.ts index 7bc309d1bd2..ae53eb31001 100644 --- a/public/app/core/components/query_part/query_part_editor.ts +++ b/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) {