Skip to content

Commit 802e7f1

Browse files
committed
prefill template description into loop wizard
1 parent 872b623 commit 802e7f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/ui/src/features/loops/components/LoopsListView.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export function LoopsListView() {
4040
};
4141

4242
const startFromTemplate = (template: LoopTemplate) => {
43-
useLoopDraftStore.getState().setPrefill(template.build());
43+
useLoopDraftStore
44+
.getState()
45+
.setPrefill({ description: template.description, ...template.build() });
4446
navigateToNewLoop();
4547
};
4648

0 commit comments

Comments
 (0)