未验证 提交 0566bbd0 编写于 作者: S Stan Hu 提交者: Douglas Barbosa Alexandre

Fix "protected branches only" checkbox not set properly at init

The `only_protected_branches` value was being enabled by default
even though the checkbox was default off. In EE, this wasn't a
problem because there was EE-specific code to update the
entire form.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53515
上级 1ddde35e
......@@ -30,6 +30,7 @@ export default class MirrorRepos {
this.$password.on('input.updateUrl', () => this.debouncedUpdateUrl());
this.initMirrorSSH();
this.updateProtectedBranches();
}
initMirrorSSH() {
......
---
title: Fix "protected branches only" checkbox not set properly at init
merge_request: 23409
author:
type: fixed
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册