Skip to content

Commit

Permalink
Prevent the submission of empty announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Jun 26, 2023
1 parent 9106242 commit cca69ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tall-spoons-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@k-phoen/backstage-plugin-announcements': patch
---

Prevent the submission of empty announcements
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const AnnouncementForm = ({
variant="contained"
color="primary"
type="submit"
disabled={loading}
disabled={loading || !form.body}
>
Submit
</Button>
Expand Down

0 comments on commit cca69ec

Please sign in to comment.