feat: add possibility to hide upload button

This commit is contained in:
Thibault Piron 2025-09-12 18:20:19 +02:00
parent 401397241b
commit cfdf653c47
3 changed files with 16 additions and 8 deletions

View file

@ -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,
}
}