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:
parent
9132a88963
commit
866b539757
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user