Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fetch announcement with the edit button is clicked #724

Commits on Sep 5, 2024

  1. feat: Add error handling for failed announcement retrieval

    The code changes in this commit add error handling for the case when the retrieval of an announcement fails. When the `editAnnouncement` function is called, it now makes an API request to retrieve the announcement using the `getAnnouncement` method from the `ApiService`. If the retrieval is successful, the announcement is set in the `announcementSelectionStore` and the user is redirected to the edit announcement page. However, if the retrieval fails, an error message is displayed using the `NotificationService`.
    
    This commit also includes recent user commits and recent repository commits for reference.
    goemen committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    940047f View commit details
    Browse the repository at this point in the history