Skip to content

Commit 3b25ee9

Browse files
author
Nabi Ebrahimi
committed
removed unwanted changes
1 parent 9dbbf3a commit 3b25ee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Permissions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Beta from '@src/types/onyx/Beta';
44

55
// eslint-disable-next-line rulesdir/no-beta-handler
66
function canUseAllBetas(betas: OnyxEntry<Beta[]>): boolean {
7-
return true;
7+
return !!betas?.includes(CONST.BETAS.ALL);
88
}
99

1010
// eslint-disable-next-line rulesdir/no-beta-handler

0 commit comments

Comments
 (0)