From 8f09c827637eb9ab293f53bfa90af2c465fe089a Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Fri, 14 May 2021 05:50:17 +0000 Subject: [PATCH] fixes and refactor --- components/collections/ChooseType.vue | 3 +- components/collections/index.vue | 7 +- components/collections/my/Collection.vue | 6 +- components/collections/teams/Collection.vue | 4 +- components/collections/teams/Folder.vue | 2 +- components/docs/Collection.vue | 8 +- components/teams/Edit.vue | 19 ++-- components/teams/Team.vue | 5 +- components/teams/index.vue | 13 +++ helpers/apollo.ts | 8 +- helpers/teams/TeamCollectionAdapter.ts | 4 +- helpers/teams/TeamMemberAdapter.ts | 113 ++++++++++---------- pages/doc.vue | 2 +- 13 files changed, 107 insertions(+), 87 deletions(-) diff --git a/components/collections/ChooseType.vue b/components/collections/ChooseType.vue index a87b6525d..c7e477ff4 100644 --- a/components/collections/ChooseType.vue +++ b/components/collections/ChooseType.vue @@ -5,7 +5,7 @@ diff --git a/components/collections/my/Collection.vue b/components/collections/my/Collection.vue index 89c90f914..a2e362ff8 100644 --- a/components/collections/my/Collection.vue +++ b/components/collections/my/Collection.vue @@ -12,7 +12,9 @@ @@ -92,7 +94,7 @@ }) " @remove-request="removeRequest" - :picked="picked" + :picked="picked.toString()" /> diff --git a/components/collections/teams/Collection.vue b/components/collections/teams/Collection.vue index 91325bc86..d5275439e 100644 --- a/components/collections/teams/Collection.vue +++ b/components/collections/teams/Collection.vue @@ -99,7 +99,7 @@ " @expand-collection="expandCollection" @remove-request="removeRequest" - :picked="picked" + :picked="picked.toString()" /> @@ -110,7 +110,7 @@ class="ml-8 border-l border-brdColor" > folder {{ collection.name || $t("none") }} - + -
+
diff --git a/components/teams/Edit.vue b/components/teams/Edit.vue index da5fa28eb..aafe300b7 100644 --- a/components/teams/Edit.vue +++ b/components/teams/Edit.vue @@ -165,6 +165,7 @@