musician dashboard nextcloud new filter only resources nextcloud

This commit is contained in:
Jorge Pastor 2024-11-07 18:29:17 +01:00
parent 51f61b2a30
commit c5c7d2d6d3
1 changed files with 1 additions and 2 deletions

View File

@ -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 = []