Properly display share error messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
09bb8ac6e2
commit
47146a1992
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -246,8 +246,10 @@ export default {
|
|||
|
||||
// reset password state after sync
|
||||
this.$delete(this.share, 'newPassword')
|
||||
} catch ({ property, message }) {
|
||||
this.onSyncError(property, message)
|
||||
} catch ({ message }) {
|
||||
if (message && message !== '') {
|
||||
this.onSyncError(property, message)
|
||||
}
|
||||
} finally {
|
||||
this.saving = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue