From c5c7d2d6d30715f7f7f69f734770dc71e5366120 Mon Sep 17 00:00:00 2001 From: jorgepastorr Date: Thu, 7 Nov 2024 18:29:17 +0100 Subject: [PATCH] musician dashboard nextcloud new filter only resources nextcloud --- orchestra/contrib/musician/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/orchestra/contrib/musician/views.py b/orchestra/contrib/musician/views.py index a2c48d7e..ed9499d0 100644 --- a/orchestra/contrib/musician/views.py +++ b/orchestra/contrib/musician/views.py @@ -130,9 +130,8 @@ class DashboardView(CustomContextMixin, UserTokenRequiredMixin, TemplateView): mailboxes = related_resources.filter(resource_id__verbose_name='mailbox-disk') lists = related_resources.filter(resource_id__verbose_name='list-traffic') databases = related_resources.filter(resource_id__verbose_name='database-disk') - nextcloud = related_resources.filter(resource_id__verbose_name='nextcloud-disk') + nextcloud = related_resources.filter(resource_id__verbose_name='nextcloud-disk', content_object_repr__iregex=r'^.*@nextcloud$') domains = Domain.objects.filter(account_id=self.request.user) - # TODO(@slamora) update when backend supports notifications notifications = []