Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ class WorkflowBuilder {
</div>
`;

const routingSection = `
let routingSection = `
<div class="mb-3">
<label class="form-label"><i class="bi bi-people"></i> <strong>Approval Groups</strong></label>
<select class="form-select builder-multiselect-lg" id="stage_groups_${node.id}" name="approval_groups" multiple size="6"
Expand All @@ -1157,10 +1157,10 @@ class WorkflowBuilder {

this.groups.forEach(group => {
const selected = selectedGroupIds.includes(group.id) ? 'selected' : '';
html += `<option value="${group.id}" ${selected}>${this.escapeHtml(group.name)}</option>`;
routingSection += `<option value="${group.id}" ${selected}>${this.escapeHtml(group.name)}</option>`;
});

html += `
routingSection += `
</select>
<small class="text-muted d-block mt-1">Hold Ctrl/Cmd to select multiple groups.</small>
</div>
Expand Down