feat(ui): support custom answers in preview questions
This commit is contained in:
+1
-3
@@ -177,9 +177,7 @@ function formatNonInteractiveMessage(
|
||||
for (const option of question.options) {
|
||||
lines.push(` - ${option.label} [${option.value}]`);
|
||||
}
|
||||
if (question.type !== "preview") {
|
||||
lines.push(" - Type your own [custom]");
|
||||
}
|
||||
lines.push(" - Type your own [custom]");
|
||||
}
|
||||
|
||||
lines.push(
|
||||
|
||||
Reference in New Issue
Block a user