fix:(revert): fix: only try to show dependencies if object exists

This reverts commit 0e44687ab1.

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
Leonidas Spyropoulos 2023-01-25 22:15:27 +00:00
parent ec239ceeb3
commit 255cdcf667
No known key found for this signature in database
GPG key ID: 59E43E106B247368

View file

@ -48,7 +48,6 @@
<h3>{{ "Required by" | tr }} ({{ reqs_count }})</h3> <h3>{{ "Required by" | tr }} ({{ reqs_count }})</h3>
<ul id="pkgreqslist"> <ul id="pkgreqslist">
{% for dep in required_by %} {% for dep in required_by %}
{% if dep is not none %}
<li> <li>
<a href="{{ dep.Package | package_link }}"> <a href="{{ dep.Package | package_link }}">
{{ dep.Package.Name }} {{ dep.Package.Name }}
@ -62,7 +61,6 @@
<em>{{ dep | dep_extra }}</em> <em>{{ dep | dep_extra }}</em>
</li> </li>
{% endif %}
{% endfor %} {% endfor %}
{% if not all_reqs and reqs_count > max_listing %} {% if not all_reqs and reqs_count > max_listing %}
<li> <li>