diff options
Diffstat (limited to 'src/store/addressbooks.js')
-rw-r--r-- | src/store/addressbooks.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/store/addressbooks.js b/src/store/addressbooks.js index bb1858f2..be152edf 100644 --- a/src/store/addressbooks.js +++ b/src/store/addressbooks.js @@ -25,7 +25,7 @@ import vcfFile from '!raw-loader!./FakeName.vcf' import parseVcf from '../services/parseVcf' import Vue from 'vue' -import client from '../services/cdav' +// import client from '../services/cdav' const addressbookModel = { id: '', @@ -169,15 +169,15 @@ const actions = { * @returns {Promise} fetch and commit */ async getAddressbooks(context) { - let addressbooks = client.addressbookHomes.map(addressbook => { - return { - id: 'ab1', - displayName: 'Addressbook 1', - enabled: true, - owner: 'admin', - dav: addressbook - } - }) + // let addressbooks = client.addressbookHomes.map(addressbook => { + let addressbooks = [{ + id: 'ab1', + displayName: 'Addressbook 1', + enabled: true, + owner: 'admin' + // dav: addressbook + }] + // }) addressbooks.forEach(addressbook => { context.commit('addAddressbooks', addressbook) |