mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Improved error message on failed import
This commit is contained in:
@@ -18,6 +18,12 @@ export const importExportMixin = {
|
||||
} else {
|
||||
bus.$emit('notification', { msg: resp.data.message, type: 'error' })
|
||||
}
|
||||
}).catch(error => {
|
||||
console.error(error)
|
||||
bus.$emit('notification', {
|
||||
msg: this.$gettext('CSV seems to be badly formatted'),
|
||||
type: 'error'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<template v-slot:help>
|
||||
<ul>
|
||||
<li><em>account; loginname; password; first name; last name; enabled; group; address; quota; [, domain, ...]</em></li>
|
||||
<li><em>alias; address; enabled; recipient; recipient; ...</em></li>
|
||||
<li><em>alias; address; enabled; recipient; [more recipients; ...]</em></li>
|
||||
</ul>
|
||||
</template>
|
||||
<template v-slot:extraFields="{ form }">
|
||||
|
||||
Reference in New Issue
Block a user