1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

Show licensed group exceeded notification

This commit is contained in:
Rory Powell 2022-09-14 22:37:33 +01:00
parent 3697a4365b
commit 25282c9455

View file

@ -38,9 +38,13 @@
try { try {
await groups.actions.save(group) await groups.actions.save(group)
} catch (error) { } catch (error) {
if (error.status === 400) {
notifications.error(error.message)
} else {
notifications.error(`Failed to save group`) notifications.error(`Failed to save group`)
} }
} }
}
const showCreateGroupModal = () => { const showCreateGroupModal = () => {
group = cloneDeep(DefaultGroup) group = cloneDeep(DefaultGroup)