From 9e2e07160984861edcce4136a21481573564c8fe Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 7 Sep 2021 17:37:41 +0200 Subject: [PATCH 01/13] Fix an issue with group activity items when moving resources Signed-off-by: Thomas Citharel --- js/src/components/Activity/ResourceActivityItem.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/components/Activity/ResourceActivityItem.vue b/js/src/components/Activity/ResourceActivityItem.vue index f546571b5..c178147e4 100644 --- a/js/src/components/Activity/ResourceActivityItem.vue +++ b/js/src/components/Activity/ResourceActivityItem.vue @@ -172,7 +172,8 @@ export default class ResourceActivityItem extends mixins(ActivityMixin) { if (this.subjectParams.resource_path) { const parentPath = this.parentPath(this.subjectParams.resource_path); const directory = parentPath.split("/"); - return directory.pop(); + const res = directory.pop(); + res === "" ? null : res; } return null; } From 8a58f5ba7c2bc6682bb6cf1cecec021904becda8 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 7 Sep 2021 17:38:47 +0200 Subject: [PATCH 02/13] Cleanup Followers.vue Signed-off-by: Thomas Citharel --- js/src/components/Admin/Followers.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/src/components/Admin/Followers.vue b/js/src/components/Admin/Followers.vue index 80c7b43df..828eaafde 100644 --- a/js/src/components/Admin/Followers.vue +++ b/js/src/components/Admin/Followers.vue @@ -128,7 +128,7 @@