From 58f14b6dcd807ebe4c14a96ff08b24d305f970ae Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 6 Nov 2017 10:44:18 -0500 Subject: [PATCH] Fixes "Sync Commits" checkbox being always visible --- TGControlPanel/ControlPanel/ServerPage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TGControlPanel/ControlPanel/ServerPage.cs b/TGControlPanel/ControlPanel/ServerPage.cs index 9491b8db2a..895f3d87ac 100644 --- a/TGControlPanel/ControlPanel/ServerPage.cs +++ b/TGControlPanel/ControlPanel/ServerPage.cs @@ -93,6 +93,7 @@ namespace TGControlPanel WorldAnnounceField.Visible = RepoExists; WorldAnnounceButton.Visible = RepoExists; WorldAnnounceLabel.Visible = RepoExists; + SyncCommitsCheckBox.Visible = RepoExists; if (updatingFields) return;