misc: do not mark forms and cards as collapsed variables (#89811)
gitea/wcs/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2024-04-19 16:33:51 +02:00
parent 0dc5d3267f
commit aa070498e4
1 changed files with 2 additions and 2 deletions

View File

@ -2045,7 +2045,7 @@ class CardsSource:
def __getattr__(self, attr):
if attr == 'inspect_collapse':
return True
return False
try:
return LazyFormDef(CardDef.get_by_urlname(attr, use_cache=True))
except KeyError:
@ -2062,7 +2062,7 @@ class FormsSource:
def __getattr__(self, attr):
if attr == 'inspect_collapse':
return True
return False
try:
return LazyFormDef(FormDef.get_by_urlname(attr, use_cache=True))
except KeyError: