mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
Merge pull request #3783 from gitbutlerapp/update-snapshot-threshold-logic-branch
feat: Set default snapshot lines threshold to 20 when undefined
This commit is contained in:
commit
a9e991c627
@ -10,7 +10,7 @@
|
||||
const projectService = getContext(ProjectService);
|
||||
const project = getContext(Project);
|
||||
|
||||
let snaphotLinesThreshold = project?.snapshot_lines_threshold;
|
||||
let snaphotLinesThreshold = project?.snapshot_lines_threshold || 20; // when undefined, the default is 20
|
||||
let allowForcePushing = project?.ok_with_force_push;
|
||||
let omitCertificateCheck = project?.omit_certificate_check;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user