Skip to content

Commit d2856cd

Browse files
committed
fix: handle multi-select
1 parent 9117b7f commit d2856cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

site/src/api/api.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ const getMissingParameters = (
7676
if (templateParameter.options.length === 0) {
7777
continue;
7878
}
79-
80-
// Check if there is a new value
79+
// For multi-select, extra steps are necessary to JSON parse the value.
80+
if (templateParameter.form_type === "multi-select") {
81+
continue;
82+
}
8183
let buildParameter = newBuildParameters.find(
8284
(p) => p.name === templateParameter.name,
8385
);

0 commit comments

Comments
 (0)