From e968b6f680286d31f191842192d2de7f0ac5d04a Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 13 Sep 2019 10:14:40 +0200 Subject: [PATCH] possibility to add circles and groups to a board Signed-off-by: Jakob --- src/components/board/SharingTabSidebard.vue | 3 ++- src/store/main.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/board/SharingTabSidebard.vue b/src/components/board/SharingTabSidebard.vue index 2ca5be29c..2c7470ec7 100644 --- a/src/components/board/SharingTabSidebard.vue +++ b/src/components/board/SharingTabSidebard.vue @@ -87,10 +87,11 @@ export default { sharee.isNoUser = true } if (item.value.shareType === 7) { - sharee.icon = 'icon-circle' + sharee.icon = 'icon-circles' sharee.isNoUser = true } + sharee.value = item.value return sharee }) }, diff --git a/src/store/main.js b/src/store/main.js index 93aaba30b..c1e049f3c 100644 --- a/src/store/main.js +++ b/src/store/main.js @@ -141,6 +141,7 @@ export default new Vuex.Store({ setSharees(state, shareesUsersAndGroups) { state.sharees = shareesUsersAndGroups.users state.sharees.push(...shareesUsersAndGroups.groups) + state.sharees.push(...shareesUsersAndGroups.circles) }, setActivity(state, activity) { activity.forEach(element => {