Skip to content

Commit

Permalink
Merge pull request #723 from iambrandonn/remove-flags
Browse files Browse the repository at this point in the history
Removes RESCOI-1126 feature flag
  • Loading branch information
iambrandonn authored Jan 6, 2017
2 parents 00a4ec7 + b52aab3 commit a5430e9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import PopOver from '../../../pop-over';
import Dropdown from '../../../dropdown';
import {AdminActions} from '../../../../actions/admin-actions';
import { ROLES } from '../../../../../../coi-constants';
import {flagIsOn} from '../../../../feature-flags';

function getUniqueProjects(declarations, configState) {
const projects = [];
Expand Down Expand Up @@ -128,7 +127,7 @@ export class AdminDeclarationsSummary extends React.Component {
isReviewer &&
config.general.reviewerDispositionsEnabled
)
) && flagIsOn('RESCOI-1126')
)
) {
setAllButton = (
<button id="setAllProjectDispositions" className={styles.setAllLink}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import classNames from 'classnames';
import Dropdown from '../../../dropdown';
import {AdminActions} from '../../../../actions/admin-actions';
import PopOver from '../../../pop-over';
import {flagIsOn} from '../../../../feature-flags';

@autobind
export default class ProjectDeclarationsSummary extends React.Component {
Expand Down Expand Up @@ -203,7 +202,7 @@ export default class ProjectDeclarationsSummary extends React.Component {

if (config.general.adminRelationshipEnabled) {
let setAllButton;
if (!readonly && flagIsOn('RESCOI-1126')) {
if (!readonly) {
setAllButton = (
<button
id={`setAll${project.id}`}
Expand Down Expand Up @@ -236,7 +235,7 @@ export default class ProjectDeclarationsSummary extends React.Component {
) {
if (config.general.reviewerEntityProjectDispositionsEnabled) {
let setAllButton;
if (!readonly && flagIsOn('RESCOI-1126')) {
if (!readonly) {
setAllButton = (
<button
id={`setAll${project.id}`}
Expand Down
3 changes: 1 addition & 2 deletions feature-flags.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[
"RESCOI-1126"
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import PopOver from '../../../pop-over';
import Dropdown from '../../../dropdown';
import {AdminActions} from '../../../../actions/admin-actions';
import { ROLES } from '../../../../../../coi-constants';
import {flagIsOn} from '../../../../feature-flags';

function getUniqueProjects(declarations, configState) {
const projects = [];
Expand Down Expand Up @@ -128,7 +127,7 @@ export class AdminDeclarationsSummary extends React.Component {
isReviewer &&
config.general.reviewerDispositionsEnabled
)
) && flagIsOn('RESCOI-1126')
)
) {
setAllButton = (
<button id="setAllProjectDispositions" className={styles.setAllLink}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import classNames from 'classnames';
import Dropdown from '../../../dropdown';
import {AdminActions} from '../../../../actions/admin-actions';
import PopOver from '../../../pop-over';
import {flagIsOn} from '../../../../feature-flags';

@autobind
export default class ProjectDeclarationsSummary extends React.Component {
Expand Down Expand Up @@ -203,7 +202,7 @@ export default class ProjectDeclarationsSummary extends React.Component {

if (config.general.adminRelationshipEnabled) {
let setAllButton;
if (!readonly && flagIsOn('RESCOI-1126')) {
if (!readonly) {
setAllButton = (
<button
id={`setAll${project.id}`}
Expand Down Expand Up @@ -236,7 +235,7 @@ export default class ProjectDeclarationsSummary extends React.Component {
) {
if (config.general.reviewerEntityProjectDispositionsEnabled) {
let setAllButton;
if (!readonly && flagIsOn('RESCOI-1126')) {
if (!readonly) {
setAllButton = (
<button
id={`setAll${project.id}`}
Expand Down

0 comments on commit a5430e9

Please sign in to comment.