Skip to content

Commit

Permalink
fix fetching labelNames
Browse files Browse the repository at this point in the history
  • Loading branch information
FentPams committed Jul 29, 2024
1 parent d16a812 commit 272bfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/experimentation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ async function getExperimentConfig(pluginOptions, metadata, overrides) {
// get the custom labels for the variants names

// get the custom labels for the variants names
const labelNames = stringToArray(metadata.name);
const labelNames = metadata.names? stringToArray(metadata.names):stringToArray(metadata.name);
pages.forEach((page, i) => {
const vname = `challenger-${i + 1}`;
// label with custom name or default
Expand Down

0 comments on commit 272bfc8

Please sign in to comment.