mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2026-06-28 06:55:46 +00:00
When you submit an incorrect cron (for example ``0 5``) the frontend doesn't surface the error message that the API returns, but only the default generic one. This fix makes it surface when the api returns the message in the error attribute and not in the message attribute.
Tubearchivist Frontend React
Folder structure
src ┐
├───api
│ ├───action // Functions that do write (POST,DELETE) calls to the backend
│ └───loader // Functions that do read-only (GET,HEAD) calls to the backend
├───components // React components to be used in pages
├───configuration // Application configuration.
│ ├───colours // Css loader for themes
│ ├───constants // global constants that have no good place
│ └───routes // Routes definitions used in Links and react-router-dom configuration
├───functions // Useful functions and hooks
├───pages // React components that define a page/route
└───stores // zustand stores