Skip to content

Commit 01ad6e2

Browse files
committed
fix(experiments): change match for experiment embed patch
1 parent 968b0cc commit 01ad6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/coremods/experiments/plaintextPatches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default (generalSettings.get("experiments")
5454
// Show the Playgrounds and Build Overrides menu items in the UserSettingsCogContextMenu
5555
alwaysTruePatch("user-settings-cog", /isStaff\(\)/g),
5656
// Show the ExperimentEmbed
57-
alwaysTruePatch("dev://experiment/", ".isStaffPersonal())"),
57+
alwaysTruePatch(/className:\i\.experimentOverride,/, ".isStaffPersonal())"),
5858
// Show the PlaygroundEmbed
5959
alwaysTruePatch("data-has-story", ".isStaffPersonal())"),
6060
// Show the Playgrounds tab in the UserSettingsCogContextMenu

0 commit comments

Comments
 (0)