Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: redirect to proper place after upgrade #46617

Merged
merged 11 commits into from
Aug 12, 2024
Prev Previous commit
Next Next commit
undo use all betas
  • Loading branch information
allroundexperts committed Aug 6, 2024
commit 612f6d116d67f7615c8d4d5bf7cc073de3ac1a89
2 changes: 1 addition & 1 deletion src/libs/Permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {IOUType} from '@src/CONST';
import type Beta from '@src/types/onyx/Beta';

function canUseAllBetas(betas: OnyxEntry<Beta[]>): boolean {
return true; // !!betas?.includes(CONST.BETAS.ALL);
return !!betas?.includes(CONST.BETAS.ALL);
}

function canUseDefaultRooms(betas: OnyxEntry<Beta[]>): boolean {
Expand Down
Loading