Merge pull request #20469 from nextcloud/fix/sidebar/sharing/password-error-message
Properly display share error messages
This commit is contained in:
commit
e4d378d01e
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 }) {
|
||||
} catch ({ message }) {
|
||||
if (message && message !== '') {
|
||||
this.onSyncError(property, message)
|
||||
}
|
||||
} finally {
|
||||
this.saving = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue