You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start the editor with the backend stopped, or make GET /elements return an error.
Open the template tree and choose Add on a node (the form in AddElementForm).
Open the Element select.
Expected behavior
A notification "Could not load the elements" (via notifyError), as in Elements.tsx, Main.tsx and TemplateTree.tsx.
Actual behavior
The select is empty with no message. getAllElements() in src/editor/Main/TemplateTree/AddElementForm/AddElementForm.tsx:42 has no .catch, so the failure becomes an unhandled promise rejection that only shows in the console.
Activity