Commit 1bc16cd5 authored by Tom Quirk's avatar Tom Quirk

Never force-disable lfs when toggling repo access

LFS should be allowed to be enabled even when
repository access is not. This commit removes
the force-disabling of LFS when repo access
is disabled.
parent 539d69fc
...@@ -13,7 +13,6 @@ export default { ...@@ -13,7 +13,6 @@ export default {
if (value === 0) { if (value === 0) {
this.containerRegistryEnabled = false; this.containerRegistryEnabled = false;
this.lfsEnabled = false;
} }
} else if (oldValue === 0) { } else if (oldValue === 0) {
this.mergeRequestsAccessLevel = value; this.mergeRequestsAccessLevel = value;
......
---
title: Allow LFS to be enabled in project settings even when Repository is disabled
merge_request: 37401
author:
type: fixed
...@@ -13,7 +13,6 @@ export default { ...@@ -13,7 +13,6 @@ export default {
if (value === 0) { if (value === 0) {
this.containerRegistryEnabled = false; this.containerRegistryEnabled = false;
this.lfsEnabled = false;
this.packagesEnabled = false; this.packagesEnabled = false;
} }
} else if (oldValue === 0) { } else if (oldValue === 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment