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 2024-11-13 11:10:52 -08:00 committed by Veiko Aasa
parent 47d9894e67
commit 65165f4b42
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -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">