-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [IOCOM-1678] FIMS history single listItem error state (#6136)
## Short description addition of said error state when the service details' fetch fails. <img width="250" alt="Screenshot 2024-08-30 at 12 38 40" src="https://github.com/user-attachments/assets/d0d1847b-c867-421f-8947-bfedae4302f5"> ## List of changes proposed in this pull request - required I18n entries - addition of said component and its rendering logic ## How to test update the dev server's code to return the following line in `src/routers/service.ts, line 58/59` ```ts res.status(Math.random() > 0.3 ? 200 : 404).json(service) ``` this way, as long as you have a big enough FIMS history list (dev-server, config.ts, I recommend something around 50), you should be able to see some failed fetches. make sure everything works as intended and follows the given design.
- Loading branch information
Showing
3 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters