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 <rares.mardare@grafana.com>
This commit is contained in:
Alexander Cherepanov 2023-07-27 19:40:31 +06:00 committed by GitHub
parent 3d73856091
commit 6334c4181a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -85,7 +85,7 @@ const ExpandedIntegrationRouteDisplay: React.FC<ExpandedIntegrationRouteDisplayP
useEffect(() => {
setIsLoading(true);
Promise.all([escalationChainStore.updateItems(), telegramChannelStore.updateItems()]).then(() =>
Promise.all([escalationChainStore.updateItems(), telegramChannelStore.updateTelegramChannels()]).then(() =>
setIsLoading(false)
);
}, []);