webapi: Update netParams name in template.

netParams was renamed to Network in a prior commit, but this instance
was not updated.
This commit is contained in:
jholdstock 2023-09-16 09:11:50 +01:00 committed by Jamie Holdstock
parent 74729c6cc9
commit b8cc99e4b6

View File

@ -18,9 +18,9 @@
</div>
{{ end }}
{{ if not (eq .WebApiCfg.NetParams.Name "mainnet") }}
{{ if not (eq .WebApiCfg.Network.Name "mainnet") }}
<div class="alert alert-warning mb-3">
This Voting Service Provider is running on {{ .WebApiCfg.NetParams.Name }}.
This Voting Service Provider is running on {{ .WebApiCfg.Network.Name }}.
Visit <a href="https://decred.org/vsp/" class="alert-link" target="_blank" rel="noopener noreferrer">decred.org</a> to find a list of mainnet VSPs.
</div>
{{ end }}