Support setting scrapers path in UI (#2124)

* Support setting scrapers path in UI
* Refresh scrapers when scrapers path changes
This commit is contained in:
WithoutPants
2021-12-20 12:00:26 +11:00
committed by GitHub
parent b0cf04865a
commit bdfb8ad567
6 changed files with 43 additions and 16 deletions

View File

@@ -116,6 +116,14 @@ export const SettingsConfigurationPanel: React.FC = () => {
onChange={(v) => saveGeneral({ generatedPath: v })}
/>
<StringSetting
id="scrapers-path"
headingID="config.general.scrapers_path.heading"
subHeadingID="config.general.scrapers_path.description"
value={general.scrapersPath ?? undefined}
onChange={(v) => saveGeneral({ scrapersPath: v })}
/>
<StringSetting
id="metadata-path"
headingID="config.general.metadata_path.heading"