Skip to content

Commit 254d920

Browse files
committed
Make enum names consistent
1 parent 874d9c6 commit 254d920

File tree

1 file changed

+3
-3
lines changed
  • project-fortis-interfaces/src/components/Admin

1 file changed

+3
-3
lines changed

project-fortis-interfaces/src/components/Admin/Admin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const SETTINGS_TAB = 0;
1818
const WATCHLIST_TAB = 1;
1919
const USERS_TAB = 2;
2020
const CUSTOM_EVENTS_TAB = 3;
21-
const TRUSTED_SOURCES = 4;
21+
const TRUSTED_SOURCES_TAB = 4;
2222
const BLACKLIST_TAB = 5;
2323
const STREAM_TAB = 6;
2424

@@ -69,7 +69,7 @@ class Admin extends React.Component {
6969

7070
const shouldShowRestartPipelineButton =
7171
index === WATCHLIST_TAB ||
72-
index === TRUSTED_SOURCES ||
72+
index === TRUSTED_SOURCES_TAB ||
7373
index === STREAM_TAB;
7474

7575
return (
@@ -124,7 +124,7 @@ class Admin extends React.Component {
124124
<TabPanel>
125125
<h2>Trusted Sources</h2>
126126
<div className="adminTable">
127-
{settings && settings.properties && index === TRUSTED_SOURCES &&
127+
{settings && settings.properties && index === TRUSTED_SOURCES_TAB &&
128128
<div>
129129
<TrustedSources {...this.props}/>
130130
</div>}

0 commit comments

Comments
 (0)