diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-18 13:40:16 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-28 12:54:22 +0200 |
commit | 2579081df2a568192887d776a6965af323b7c4ee (patch) | |
tree | 12491e0ee11568a09891f4d261e9cba60e8a8d52 /src/hydrilla/proxy/web_ui/packages.py | |
parent | c242a5833d41fdcee6e2b35cff7af8d445b44946 (diff) | |
download | haketilo-hydrilla-2579081df2a568192887d776a6965af323b7c4ee.tar.gz haketilo-hydrilla-2579081df2a568192887d776a6965af323b7c4ee.zip |
make it possible to list all repositories in the web UI
Diffstat (limited to 'src/hydrilla/proxy/web_ui/packages.py')
-rw-r--r-- | src/hydrilla/proxy/web_ui/packages.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hydrilla/proxy/web_ui/packages.py b/src/hydrilla/proxy/web_ui/packages.py index a618ca0..f38ea13 100644 --- a/src/hydrilla/proxy/web_ui/packages.py +++ b/src/hydrilla/proxy/web_ui/packages.py @@ -103,12 +103,9 @@ def load_from_disk_post() -> werkzeug.Response: def packages() -> flask.Response: state = t.cast(_app.WebUIApp, flask.current_app)._haketilo_state - display_infos = state.mapping_version_store().get_display_infos() - sorted_infos = sorted(display_infos, key=(lambda di: di.info)) - html = flask.render_template( 'packages.html.jinja', - display_infos = sorted_infos + display_infos = state.mapping_version_store().get_display_infos() ) return flask.make_response(html, 200) |