fix: misc improvements to badge flow

This commit is contained in:
Jannat Patel
2025-07-08 19:41:08 +05:30
parent efb317191c
commit f2c18fad52
3 changed files with 6 additions and 8 deletions

View File

@@ -159,13 +159,11 @@ const setValue = (close: () => void) => {
onSuccess() {
badges.value?.reload()
close()
toast.success(__('Zoom Account updated successfully'))
toast.success(__('Badge updated successfully'))
},
onError(err: any) {
close()
toast.error(
cleanError(err.messages[0]) || __('Error updating Zoom Account')
)
toast.error(cleanError(err.messages[0]) || err)
},
}
)