Display error when populated from the backend
This commit is contained in:
parent
e74462a687
commit
f59a9da809
|
@ -66,6 +66,8 @@
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.status === 400) {
|
if (error.status === 400) {
|
||||||
notifications.error(error.message)
|
notifications.error(error.message)
|
||||||
|
} else if (error.message) {
|
||||||
|
notifications.error(error.message)
|
||||||
} else {
|
} else {
|
||||||
notifications.error(`Failed to save group`)
|
notifications.error(`Failed to save group`)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 79bc94b17baba885eb20e72f9abba3ac8b9c0eab
|
Subproject commit 546ca5e9fb90b65c8a566da5d3ce295a24cd21b0
|
Loading…
Reference in New Issue