Skip to content

Commit

Permalink
Update src/libs/Permissions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cretadn22 authored Oct 23, 2024
1 parent 43235de commit 2f66068
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2f66068

Please sign in to comment.