Skip to content

Commit

Permalink
Allow referring to steps by label only in markdown editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 17, 2023
1 parent 8082c2d commit 6d8cbee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Markdown/MarkdownToolBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ export default {
const steps = [];
this.steps &&
Object.values(this.steps).forEach((step) => {
if (step.label || step.content_id) {
steps.push(step.label || step.content_id);
if (step.label) {
steps.push(step.label);
}
});
return steps;
Expand Down

0 comments on commit 6d8cbee

Please sign in to comment.