Show licensed group exceeded notification
This commit is contained in:
parent
40f1bb3067
commit
ea3598e9cf
|
@ -38,7 +38,11 @@
|
||||||
try {
|
try {
|
||||||
await groups.actions.save(group)
|
await groups.actions.save(group)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
notifications.error(`Failed to save group`)
|
if (error.status === 400) {
|
||||||
|
notifications.error(error.message)
|
||||||
|
} else {
|
||||||
|
notifications.error(`Failed to save group`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue