From 254d92062f3ef573358e620890bbfa1244c28ebd Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Wed, 28 Feb 2018 12:17:49 -0500 Subject: [PATCH] Make enum names consistent --- project-fortis-interfaces/src/components/Admin/Admin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project-fortis-interfaces/src/components/Admin/Admin.js b/project-fortis-interfaces/src/components/Admin/Admin.js index c1475246..deba5be1 100644 --- a/project-fortis-interfaces/src/components/Admin/Admin.js +++ b/project-fortis-interfaces/src/components/Admin/Admin.js @@ -18,7 +18,7 @@ const SETTINGS_TAB = 0; const WATCHLIST_TAB = 1; const USERS_TAB = 2; const CUSTOM_EVENTS_TAB = 3; -const TRUSTED_SOURCES = 4; +const TRUSTED_SOURCES_TAB = 4; const BLACKLIST_TAB = 5; const STREAM_TAB = 6; @@ -69,7 +69,7 @@ class Admin extends React.Component { const shouldShowRestartPipelineButton = index === WATCHLIST_TAB || - index === TRUSTED_SOURCES || + index === TRUSTED_SOURCES_TAB || index === STREAM_TAB; return ( @@ -124,7 +124,7 @@ class Admin extends React.Component {

Trusted Sources

- {settings && settings.properties && index === TRUSTED_SOURCES && + {settings && settings.properties && index === TRUSTED_SOURCES_TAB &&
}