mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-05 09:19:37 +00:00
chore: improve error handling
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-label">Enabled</div>
|
||||
<input class="form-check enabled-input" name="meta[enabled]" placeholder="" type="checkbox" <%- meta && typeof meta.enabled !== 'undefined' && meta.enabled === true ? 'checked="checked"' : '' %> >
|
||||
<input class="form-check enabled-input" name="meta[enabled]" placeholder="" type="checkbox" <%- meta && (typeof meta.enabled !== 'undefined' && meta.enabled === true) || (JSON.stringify(meta) === '{}') ? 'checked="checked"' : '' %> >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user