diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-30 12:51:55 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-30 12:51:55 +0100 |
commit | 41e8ec164713dc6b51754575e6da92995dd55df9 (patch) | |
tree | 080e849b8870f3bfdc0ef448b0ee25553e654c68 /src/store | |
parent | a1561dfe3a728f3b636852df05d36c1947883dd7 (diff) |
Fix string detection, put delete in last and fix properties scoping
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/contacts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/contacts.js b/src/store/contacts.js index d5538b6e..613fd2a9 100644 --- a/src/store/contacts.js +++ b/src/store/contacts.js @@ -331,7 +331,7 @@ const actions = { * @returns {Promise} */ async fetchFullContact(context, { contact, etag = '' }) { - if (etag !== '') { + if (etag.trim() !== '') { await context.commit('updateContactEtag', { contact, etag }) } return contact.dav.fetchCompleteData() |