Skip to content

Commit b83b214

Browse files
committed
Don't allow duplicate steps even with alias matches
If there are two columns with "first draft" then the second will become a non-standard step problem.
1 parent 57da9a9 commit b83b214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/pnp/findStepColumns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const chooseStep = (
6969
): Step | undefined => {
7070
const alias = ApprovedAliases.get(label.toLowerCase());
7171
if (alias) {
72-
return alias;
72+
return available.has(alias) ? alias : undefined;
7373
}
7474

7575
const distances = available.values().map((step) => {

0 commit comments

Comments
 (0)