summaryrefslogtreecommitdiffstats
path: root/src/store/addressbooks.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/addressbooks.js')
-rw-r--r--src/store/addressbooks.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/store/addressbooks.js b/src/store/addressbooks.js
index c530a7f1..d52cb36d 100644
--- a/src/store/addressbooks.js
+++ b/src/store/addressbooks.js
@@ -28,6 +28,7 @@ import Vue from 'vue'
const state = {
addressbooks: []
}
+
const mutations = {
/**
* Store addressbooks into state
@@ -71,11 +72,11 @@ const mutations = {
Vue.delete(addressbook, contact.uid)
}
}
+
const getters = {
- getAddressbooks(state) {
- return state.addressbooks
- }
+ getAddressbooks: state => state.addressbooks
}
+
const actions = {
/**
* Retrieve and commit addressbooks