networks: Fix minor typo in template related to signal strength

- Check for availability of access_point.strength before using
access_point.strength.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2024-12-12 12:29:42 +02:00
1 parent 47d9894e67
commit 65165f4b42
1 file changed
+1 -1
@@ -149,7 +149,7 @@
<span class="secondary">{{ connection.wireless.mode_string }}</span>
</div>
{% endif %}
{% if access_point.channel %}
{% if access_point.strength %}
<div class="list-group-item">
<span class="primary">{% trans "Signal strength" %}</span>
<span class="badge badge-secondary secondary">