From acd525d8e010ec0f63c35dd8fba66f3e5a4ca91d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Feb 2026 20:24:33 +0000 Subject: [PATCH] fix: include update block in stackql-deploy template alongside insert The else-if chain meant that when a resource had both INSERT and UPDATE operations, the update was skipped. Split into independent if blocks so both are included in the generated template. https://claude.ai/code/session_01MQj3XYTZ9owsNxqqYCknZH --- .../components/StackqlDeployDropdown/StackqlDeployDropdown.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js b/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js index 0b323716c..66a2d5094 100644 --- a/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js +++ b/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js @@ -213,7 +213,9 @@ function buildTemplate(sections) { if (sections.insert) { parts.push(sections.insert); - } else if (sections.update) { + } + + if (sections.update) { parts.push(sections.update); } else if (sections.replace) { parts.push(sections.replace);