mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-15 08:54:27 +00:00
Remove console.logs
This commit is contained in:
parent
45fc63875c
commit
69f7920675
@ -48,13 +48,11 @@ module.exports = Mn.View.extend({
|
|||||||
return {
|
return {
|
||||||
canManage: App.Cache.User.canManage('certificates'),
|
canManage: App.Cache.User.canManage('certificates'),
|
||||||
isExpired: function () {
|
isExpired: function () {
|
||||||
console.log(this);
|
|
||||||
return moment(this.expires_on).isBefore(moment());
|
return moment(this.expires_on).isBefore(moment());
|
||||||
},
|
},
|
||||||
dns_providers: dns_providers,
|
dns_providers: dns_providers,
|
||||||
active_domain_names: function () {
|
active_domain_names: function () {
|
||||||
const { proxy_hosts = [], redirect_hosts = [], dead_hosts = [] } = this;
|
const { proxy_hosts = [], redirect_hosts = [], dead_hosts = [] } = this;
|
||||||
console.log(proxy_hosts)
|
|
||||||
return [...proxy_hosts, ...redirect_hosts, ...dead_hosts].reduce((acc, host) => {
|
return [...proxy_hosts, ...redirect_hosts, ...dead_hosts].reduce((acc, host) => {
|
||||||
acc.push(...(host.domain_names || []));
|
acc.push(...(host.domain_names || []));
|
||||||
return acc;
|
return acc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user