From 3199c1ee3573f2fb96d4b82d753426b52e47f21b Mon Sep 17 00:00:00 2001 From: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:39:06 -0700 Subject: [PATCH] pass stage_type with typical format in createStage --- client-src/elements/chromedash-add-stage-dialog.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/client-src/elements/chromedash-add-stage-dialog.js b/client-src/elements/chromedash-add-stage-dialog.js index 552a50987843..b7d686cf67b6 100644 --- a/client-src/elements/chromedash-add-stage-dialog.js +++ b/client-src/elements/chromedash-add-stage-dialog.js @@ -89,7 +89,14 @@ class ChromedashAddStageDialog extends LitElement { this.shadowRoot.querySelector('sl-dialog').hide(); return; } - window.csClient.createStage(this.featureId, {stage_type: this.getStageSelectValue()}) + window.csClient.createStage( + this.featureId, + { + stage_type: { + form_field_name: 'stage_type', + value: this.getStageSelectValue(), + }, + }) .then(() => { this.shadowRoot.querySelector('sl-dialog').hide(); location.reload();