mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
gitweb: Fix issue with page not refreshing during uninstall
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
2454527740
commit
c608219795
1 file changed
+3
-1
@@ -33,7 +33,9 @@ class GitwebAppView(views.AppView):
|
||||
repos = gitweb.get_repo_list()
|
||||
context['repos'] = repos
|
||||
context['cloning'] = any('clone_progress' in repo for repo in repos)
|
||||
context['refresh_page_sec'] = 3 if context['cloning'] else None
|
||||
if context['cloning']:
|
||||
context['refresh_page_sec'] = 3
|
||||
|
||||
return context
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user