Skip to content

Commit

Permalink
docs: Handle empty teams array gracefully in PagerDutyPage component
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Barbosa <tbarbos@hotmail.com>
  • Loading branch information
t1agob committed Jul 5, 2024
1 parent 57b5271 commit 7d05af6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/release-notes/backend.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release notes for Backend plugin

## > 0.7.1

[GitHub release](https://github.com/PagerDuty/backstage-plugin-backend/releases/tag/0.7.1)

### Summary

PagerDuty advocates for full-service ownership and one recommendation on that direction is for customers to associate teams with services to state clear ownership of that service. Still, this is not enforced and therefore some customers don't have teams configured.

This release ensures the backend handles empty teams arrays gracefully to prevent the PagerDutyPage component from staying in a loading state indefinitely.

### Changes

- fix: handle empty teams array to prevent TypeError

### Dependencies

- `@pagerduty/backstage-plugin-common: 0.1.5`

## > 0.7.0

[GitHub release](https://github.com/PagerDuty/backstage-plugin-backend/releases/tag/0.7.0)
Expand Down

0 comments on commit 7d05af6

Please sign in to comment.