webapp: MQTT: no login with cert if TLS disabled

in the settings view we hide the "login with cert" setting while TLS is
disabled, so we should also hide that info in the info view when TLS is
disabled.
This commit is contained in:
Bernhard Kirchen 2024-10-26 23:11:17 +02:00
parent 935af85f38
commit f6e13a3486

View File

@ -83,7 +83,7 @@
<th>{{ $t('mqttinfo.RootCertifcateInfo') }}</th>
<td>{{ mqttDataList.mqtt_root_ca_cert_info }}</td>
</tr>
<tr>
<tr v-if="mqttDataList.mqtt_tls">
<th>{{ $t('mqttinfo.TlsCertLogin') }}</th>
<td>
<StatusBadge
@ -93,7 +93,7 @@
/>
</td>
</tr>
<tr v-if="mqttDataList.mqtt_tls_cert_login">
<tr v-if="mqttDataList.mqtt_tls && mqttDataList.mqtt_tls_cert_login">
<th>{{ $t('mqttinfo.ClientCertifcateInfo') }}</th>
<td>{{ mqttDataList.mqtt_client_cert_info }}</td>
</tr>