summaryrefslogtreecommitdiffstats
path: root/src/store/contacts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/contacts.js')
-rw-r--r--src/store/contacts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/contacts.js b/src/store/contacts.js
index 0e8eb690..fd79b5a1 100644
--- a/src/store/contacts.js
+++ b/src/store/contacts.js
@@ -370,7 +370,7 @@ const actions = {
console.error(error)
// wrong etag, we most likely have a conflict
- if (error && error.status === 412) {
+ if (error && error?.status === 412) {
// saving the new etag so that the user can manually
// trigger a fetchCompleteData without any further errors
context.commit('setContactAsConflict', { contact, etag: error.xhr.getResponseHeader('etag') })