From 85728a6dbfbf1bc7f84f89239f29875d1f23146b Mon Sep 17 00:00:00 2001 From: Jonah Back Date: Wed, 7 Apr 2021 14:27:05 -0700 Subject: [PATCH] fix: use correct field for evaluating whether or not GitHub Enterprise is selected (#5987) Signed-off-by: Jonah Back --- ui/src/app/settings/components/repos-list/repos-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/settings/components/repos-list/repos-list.tsx b/ui/src/app/settings/components/repos-list/repos-list.tsx index 8b9cbf2d1677c..81bdfcf4eddad 100644 --- a/ui/src/app/settings/components/repos-list/repos-list.tsx +++ b/ui/src/app/settings/components/repos-list/repos-list.tsx @@ -410,7 +410,7 @@ export class ReposList extends React.Component, {connec
- {formApi.getFormState().values.type === 'GitHub Enterprise' && ( + {formApi.getFormState().values.ghType === 'GitHub Enterprise' && (