Dev (#2913)
* feat(chalice): autocomplete return top 10 with stats * fix(chalice): fixed autocomplete top 10 meta-filters * fix(chalice): fixed get null card info
This commit is contained in:
parent
b92d5c8706
commit
c9d63d912f
1 changed files with 2 additions and 0 deletions
|
|
@ -451,6 +451,8 @@ def delete_card(project_id, metric_id, user_id):
|
|||
|
||||
|
||||
def __get_global_attributes(row):
|
||||
if row is None or row.get("cardInfo") is None:
|
||||
return row
|
||||
card_info = row.get("cardInfo", {})
|
||||
row["compareTo"] = card_info.get("compareTo", [])
|
||||
return row
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue