Display error when populated from the backend

This commit is contained in:
Adria Navarro 2023-05-08 11:31:35 +02:00
parent e74462a687
commit f59a9da809
2 changed files with 3 additions and 1 deletions

View File

@ -66,6 +66,8 @@
} catch (error) {
if (error.status === 400) {
notifications.error(error.message)
} else if (error.message) {
notifications.error(error.message)
} else {
notifications.error(`Failed to save group`)
}

@ -1 +1 @@
Subproject commit 79bc94b17baba885eb20e72f9abba3ac8b9c0eab
Subproject commit 546ca5e9fb90b65c8a566da5d3ce295a24cd21b0