Skip to content

Commit

Permalink
Fix disabled flags being in the validation process
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Oct 18, 2024
1 parent e18f1b7 commit 1d6d9e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/windows/main/ts/roblox/fflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ export class RobloxFFlags {
let invalidSelectedProfileFlags: FFs = {};
if (selectedProfile) {
let modifiedFlagsObject: FFs = {};
for (const { flag, value } of selectedProfile.flags) {
for (const { flag, value, enabled } of selectedProfile.flags) {
if (!enabled) continue;
modifiedFlagsObject[flag] = value;
}
selectedProfileFlags = await flagsList.validate(modifiedFlagsObject);
Expand Down

0 comments on commit 1d6d9e2

Please sign in to comment.