fix(web): reset automatic pull to default (#9763)
Co-authored-by: maria-rcks <[email protected]>
This commit is contained in:
1 parent
45bd3b631b
commit
f6db420625
1 file changed
+5
@@ -990,6 +990,11 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
|
||||
<SettingsRow
|
||||
title="Automatically pull"
|
||||
description="Keeps the default branch current in the background when the checkout has no local changes or commits."
|
||||
resetAction={
|
||||
autoPull ? (
|
||||
<SettingResetButton label="automatic pull" onClick={() => setAutoPull(false)} />
|
||||
) : null
|
||||
}
|
||||
control={
|
||||
<Switch
|
||||
checked={autoPull}
|
||||
|
||||
Reference in new issue
Block a user