mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add backup directory path setting (#2953)
* add backup directory path setting * Don't default backup path * handle migration backup path input when given filename or path Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -155,6 +155,14 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
value={general.pythonPath ?? undefined}
|
||||
onChange={(v) => saveGeneral({ pythonPath: v })}
|
||||
/>
|
||||
|
||||
<StringSetting
|
||||
id="backup-directory-path"
|
||||
headingID="config.general.backup_directory_path.heading"
|
||||
subHeadingID="config.general.backup_directory_path.description"
|
||||
value={general.backupDirectoryPath ?? undefined}
|
||||
onChange={(v) => saveGeneral({ backupDirectoryPath: v })}
|
||||
/>
|
||||
</SettingSection>
|
||||
|
||||
<SettingSection headingID="config.general.hashing">
|
||||
|
||||
Reference in New Issue
Block a user