Skip to content

Commit

Permalink
Merge pull request #38428 from ishpaul777/fix/38153
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins authored Mar 25, 2024
2 parents 3dd3f6b + 29181d7 commit f7ee26b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function WorkspaceWorkflowsPage({policy, betas, route, reimbursementAccount, ses

const isPaidGroupPolicy = PolicyUtils.isPaidGroupPolicy(policy);
const isPolicyAdmin = PolicyUtils.isPolicyAdmin(policy);
const isLoading = reimbursementAccount?.isLoading ?? true;
const isLoading = reimbursementAccount?.isLoading && policy?.reimbursementChoice === undefined;

return (
<FeatureEnabledAccessOrNotFoundWrapper
Expand All @@ -280,6 +280,7 @@ function WorkspaceWorkflowsPage({policy, betas, route, reimbursementAccount, ses
shouldShowNotFoundPage={!isPaidGroupPolicy || !isPolicyAdmin}
shouldSkipVBBACall
isLoading={isLoading}
shouldShowLoading={isLoading}
shouldUseScrollView
>
<View style={[styles.mt3, styles.textStrong, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
Expand Down

0 comments on commit f7ee26b

Please sign in to comment.