Description optionnelle
This commit is contained in:
+1
-2
@@ -376,13 +376,12 @@ def setup_table_columns(
|
|||||||
"hideable": hideable,
|
"hideable": hideable,
|
||||||
}
|
}
|
||||||
columns.append(column)
|
columns.append(column)
|
||||||
|
|
||||||
if column_object:
|
if column_object:
|
||||||
tooltip[column_id] = {
|
tooltip[column_id] = {
|
||||||
"value": f"""**{column_object.get("title")}** ({column_id})
|
"value": f"""**{column_object.get("title")}** ({column_id})
|
||||||
|
|
||||||
"""
|
"""
|
||||||
+ column_object["description"],
|
+ column_object.get("description", ""),
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
}
|
}
|
||||||
return columns, tooltip
|
return columns, tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user