Skip to content

Commit

Permalink
Rename to combinedTrackSubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
grgia committed Aug 23, 2024
1 parent 7d343b2 commit 1d48409
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const CONST = {
WORKSPACE_FEEDS: 'workspaceFeeds',
NETSUITE_USA_TAX: 'netsuiteUsaTax',
WORKSPACE_RULES: 'workspaceRules',
COMBINED_CREATE_EXPENSE: 'combinedCreateExpense',
COMBINED_TRACK_SUBMIT: 'combinedTrackSubmit',
},
BUTTON_STATES: {
DEFAULT: 'default',
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ function canUseWorkspaceRules(betas: OnyxEntry<Beta[]>): boolean {
return !!betas?.includes(CONST.BETAS.WORKSPACE_RULES) || canUseAllBetas(betas);
}

function canUseCombinedCreateExpense(betas: OnyxEntry<Beta[]>): boolean {
// We don't need to show this to all betas.
return !!betas?.includes(CONST.BETAS.COMBINED_CREATE_EXPENSE);
function canUseCombinedTrackSubmit(betas: OnyxEntry<Beta[]>): boolean {
// We don't need to show this to all betas since this will be used for developing a feature for A/B testing.
return !!betas?.includes(CONST.BETAS.COMBINED_TRACK_SUBMIT);
}

/**
Expand All @@ -62,5 +62,5 @@ export default {
canUseWorkspaceFeeds,
canUseNetSuiteUSATax,
canUseWorkspaceRules,
canUseCombinedCreateExpense,
canUseCombinedTrackSubmit,
};

0 comments on commit 1d48409

Please sign in to comment.