Fix several UI related bugs (#3659)

# What this PR does

Fix several UI related bugs

## Which issue(s) this PR fixes


https://github.com/grafana/oncall/issues/3585
https://github.com/grafana/oncall-private/issues/2427

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
This commit is contained in:
Maxim Mordasov 2024-01-12 18:35:21 +03:00 committed by GitHub
parent 40774875e6
commit 866487b949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix unicode characters not rendering correctly in webhooks @mderynck ([#3670](https://github.com/grafana/oncall/pull/3670))
- UI bug related to time inputs for "current UTC time is in" range escalation policy step ([#3585](https://github.com/grafana/oncall/issues/3585)]
- MS Teams Connection user profile tab - shouldn't reshow connection steps if already connected ([#2427](https://github.com/grafana/oncall-private/issues/2427))
- Fix internal schedule detail API to set oncall_now for a schedule in orgs with multiple entries ([#3671](https://github.com/grafana/oncall/pull/3671))
## v1.3.85 (2024-01-12)

View file

@ -59,6 +59,9 @@ const TimeRange = (props: TimeRangeProps) => {
const handleChangeFrom = useCallback(
(value: moment.Moment) => {
if (!value.isValid()) {
return;
}
setFrom(value);
if (value.isSame(to, 'minute')) {
@ -74,6 +77,9 @@ const TimeRange = (props: TimeRangeProps) => {
const handleChangeTo = useCallback(
(value: moment.Moment) => {
if (!value.isValid()) {
return;
}
setTo(value);
if (value.isSame(from, 'minute')) {

View file

@ -60,7 +60,7 @@ const UserSettings = observer(({ id, onHide, tab = UserSettingsTab.UserInfo }: U
isCurrent && organizationStore.currentOrganization?.slack_team_identity && !storeUser.slack_user_identity,
isCurrent && store.hasFeature(AppFeature.Telegram) && !storeUser.telegram_configuration,
isCurrent,
store.hasFeature(AppFeature.MsTeams),
store.hasFeature(AppFeature.MsTeams) && !storeUser.messaging_backends.MSTEAMS,
];
const title = (