Skip to content

Commit

Permalink
Merge pull request #55502 from Expensify/yuwen-nsqsBeta
Browse files Browse the repository at this point in the history
[No QA] Add beta for NSQS
  • Loading branch information
MarioExpensify authored Jan 21, 2025
2 parents 107a6fa + fe44991 commit a785e08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ const CONST = {
PER_DIEM: 'newDotPerDiem',
NEWDOT_MERGE_ACCOUNTS: 'newDotMergeAccounts',
NEWDOT_MANAGER_MCTEST: 'newDotManagerMcTest',
NSQS: 'nsqs',
},
BUTTON_STATES: {
DEFAULT: 'default',
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ function canUseManagerMcTest(betas: OnyxEntry<Beta[]>): boolean {
return !!betas?.includes(CONST.BETAS.NEWDOT_MANAGER_MCTEST) || canUseAllBetas(betas);
}

function canUseNSQS(betas: OnyxEntry<Beta[]>): boolean {
return !!betas?.includes(CONST.BETAS.NSQS) || canUseAllBetas(betas);
}

export default {
canUseDefaultRooms,
canUseLinkPreviews,
Expand All @@ -50,4 +54,5 @@ export default {
canUsePerDiem,
canUseMergeAccounts,
canUseManagerMcTest,
canUseNSQS,
};

0 comments on commit a785e08

Please sign in to comment.