Remove duplicate context after rebase

This commit is contained in:
jdcaballerov 2020-12-03 15:44:21 -05:00
parent 107c062141
commit c8d8346e4d

View file

@ -112,11 +112,6 @@ class PublicArchiveView(ListView):
snapshot.icons = snapshot_icons(snapshot)
return qs
def get_context_data(self,**kwargs):
context = super(PublicArchiveView,self).get_context_data(**kwargs)
context['num_links'] = self.get_queryset().count()
return context
def get(self, *args, **kwargs):
if PUBLIC_INDEX or self.request.user.is_authenticated:
response = super().get(*args, **kwargs)