summaryrefslogtreecommitdiffstats
path: root/src/store
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-30 12:51:55 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-30 12:51:55 +0100
commit41e8ec164713dc6b51754575e6da92995dd55df9 (patch)
tree080e849b8870f3bfdc0ef448b0ee25553e654c68 /src/store
parenta1561dfe3a728f3b636852df05d36c1947883dd7 (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.js2
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()