Skip to content

Commit bce1787

Browse files
committed
🐛 Fix(config_manager.py): Add empty component caption to avoid showing None on streamlit reports
1 parent 3cb87ca commit bce1787

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vuegen/config_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def _create_component_config_fromfile(self, file_path: Path) -> Dict[str, str]:
6464
component_config["title"] = self._create_title_fromdir(file_path.name)
6565
component_config["file_path"] = str(file_path.resolve())
6666
component_config["description"] = ""
67+
component_config["caption"] = ""
6768

6869
# Infer component config
6970
if file_ext in [r.DataFrameFormat.CSV.value_with_dot, r.DataFrameFormat.TXT.value_with_dot]:

0 commit comments

Comments
 (0)