fix: Don't hide domains that have owner index 0
This commit is contained in:
parent
703f1ed5c1
commit
5e21074b24
@ -6,10 +6,6 @@ from flask import render_template
|
|||||||
def domains(domains, mobile=False):
|
def domains(domains, mobile=False):
|
||||||
html = ''
|
html = ''
|
||||||
for domain in domains:
|
for domain in domains:
|
||||||
owner = domain['owner']
|
|
||||||
if 'index' in owner:
|
|
||||||
if owner['index'] == 0:
|
|
||||||
continue
|
|
||||||
expires = domain['stats']
|
expires = domain['stats']
|
||||||
if 'daysUntilExpire' in expires:
|
if 'daysUntilExpire' in expires:
|
||||||
expires = expires['daysUntilExpire']
|
expires = expires['daysUntilExpire']
|
||||||
|
Loading…
Reference in New Issue
Block a user