misc: do not mark forms and cards as collapsed variables (#89811)
gitea/wcs/pipeline/head This commit looks good
Details
gitea/wcs/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0dc5d3267f
commit
aa070498e4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue