From 6334c4181a72e1f05ca90b54e688d526fe6a5d76 Mon Sep 17 00:00:00 2001 From: Alexander Cherepanov Date: Thu, 27 Jul 2023 19:40:31 +0600 Subject: [PATCH] fix: post to Telegram ChatOps channel option is not showing in the integration page (#2498) # What this PR does Fix Post to Telegram ChatOps channel option is not showing in the integration page. Problem has been introduced by [this PR](https://github.com/grafana/oncall/pull/2147/files) ## Which issue(s) this PR fixes closes https://github.com/grafana/oncall/issues/2486 ## Checklist - [x] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) --------- Co-authored-by: Rares Mardare --- CHANGELOG.md | 2 ++ .../ExpandedIntegrationRouteDisplay.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63630719..a3e491da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Remove checks delaying plugin load and cause "Initializing plugin..." ([2624](https://github.com/grafana/oncall/pull/2624)) - Fix "Continue escalation if >X alerts per Y minutes" escalation step by @vadimkerr ([#2636](https://github.com/grafana/oncall/pull/2636)) +- Post to Telegram ChatOps channel option is not showing in the integrations page + by @alexintech ([#2498](https://github.com/grafana/oncall/pull/2498)) ## v1.3.17 (2023-07-25) diff --git a/grafana-plugin/src/containers/IntegrationContainers/ExpandedIntegrationRouteDisplay/ExpandedIntegrationRouteDisplay.tsx b/grafana-plugin/src/containers/IntegrationContainers/ExpandedIntegrationRouteDisplay/ExpandedIntegrationRouteDisplay.tsx index cff20d32..6bac9965 100644 --- a/grafana-plugin/src/containers/IntegrationContainers/ExpandedIntegrationRouteDisplay/ExpandedIntegrationRouteDisplay.tsx +++ b/grafana-plugin/src/containers/IntegrationContainers/ExpandedIntegrationRouteDisplay/ExpandedIntegrationRouteDisplay.tsx @@ -85,7 +85,7 @@ const ExpandedIntegrationRouteDisplay: React.FC { setIsLoading(true); - Promise.all([escalationChainStore.updateItems(), telegramChannelStore.updateItems()]).then(() => + Promise.all([escalationChainStore.updateItems(), telegramChannelStore.updateTelegramChannels()]).then(() => setIsLoading(false) ); }, []);