Update file path in build_config method
This commit is contained in:
parent
d6f1a9f1f6
commit
5bc787fef4
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class FileComponent(CustomComponent):
|
||||||
|
|
||||||
def build_config(self) -> Dict[str, Any]:
|
def build_config(self) -> Dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"paths": {
|
"path": {
|
||||||
"display_name": "Path",
|
"display_name": "Path",
|
||||||
"field_type": "file",
|
"field_type": "file",
|
||||||
"file_types": TEXT_FILE_TYPES,
|
"file_types": TEXT_FILE_TYPES,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue