feat: add possibility to hide upload button
This commit is contained in:
parent
401397241b
commit
cfdf653c47
3 changed files with 16 additions and 8 deletions
|
@ -25,6 +25,7 @@ type Config struct {
|
|||
ObservationInterval int `json:"observation_internal"`
|
||||
Languages []string `json:"languages"`
|
||||
Language string `json:"language"`
|
||||
UploadFileButton bool `json:"upload_file_button"`
|
||||
}
|
||||
|
||||
func NewConfig() *Config {
|
||||
|
@ -69,7 +70,8 @@ func NewConfig() *Config {
|
|||
"SQL",
|
||||
"YAML",
|
||||
},
|
||||
Language: "text",
|
||||
Language: "text",
|
||||
UploadFileButton: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue