mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-13 14:39:30 +00:00
Allow to disable the extraction of parameters out of part description and notes
Fixes issue #747
This commit is contained in:
parent
c7ec8adc31
commit
8ff2fc5a82
3 changed files with 23 additions and 4 deletions
|
|
@ -40,4 +40,10 @@ class PartInfoSettings
|
|||
#[SettingsParameter(label: new TM("settings.behavior.part_info.show_part_image_overlay"), description: new TM("settings.behavior.part_info.show_part_image_overlay.help"),
|
||||
envVar: "bool:SHOW_PART_IMAGE_OVERLAY", envVarMode: EnvVarMode::OVERWRITE)]
|
||||
public bool $showPartImageOverlay = true;
|
||||
}
|
||||
|
||||
#[SettingsParameter(label: new TM("settings.behavior.part_info.extract_params_from_description"))]
|
||||
public bool $extractParamsFromDescription = true;
|
||||
|
||||
#[SettingsParameter(label: new TM("settings.behavior.part_info.extract_params_from_notes"))]
|
||||
public bool $extractParamsFromNotes = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue