Show licensed group exceeded notification

This commit is contained in:
Rory Powell 2022-09-14 22:37:33 +01:00
parent 3697a4365b
commit 25282c9455
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,11 @@
try {
await groups.actions.save(group)
} catch (error) {
notifications.error(`Failed to save group`)
if (error.status === 400) {
notifications.error(error.message)
} else {
notifications.error(`Failed to save group`)
}
}
}