Skip to content

Commit

Permalink
Merge pull request #10809 from Expensify/workspace-offline-ux
Browse files Browse the repository at this point in the history
Cleanup from #10749
  • Loading branch information
puneetlath authored Sep 5, 2022
2 parents c30de0a + a1e5d38 commit 449043e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings/InitialSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const propTypes = {
role: PropTypes.string,

/** The current action that is waiting to happen on the policy */
pendingAction: PropTypes.oneOf(['add', 'update', 'delete']),
pendingAction: PropTypes.oneOf(_.values(CONST.RED_BRICK_ROAD_PENDING_ACTION)),
})),

/** List of policy members */
Expand Down Expand Up @@ -173,7 +173,7 @@ class InitialSettingsPage extends React.Component {
iconFill: themeColors.iconReversed,
fallbackIcon: Expensicons.FallbackWorkspaceAvatar,
brickRoadIndicator: PolicyUtils.getPolicyBrickRoadIndicatorStatus(policy, this.props.policyMembers),
pendingAction: policy.pendingAction ? policy.pendingAction : null,
pendingAction: policy.pendingAction,
isPolicy: true,
}))
.value();
Expand Down

0 comments on commit 449043e

Please sign in to comment.