Skip to content

Commit 53e8b1a

Browse files
committed
use a proper step number reference in DE
1 parent a367098 commit 53e8b1a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/libs/eda/src/lib/notebook/NotebookPresets.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,11 @@ export const presetNotebooks: Record<string, PresetNotebook> = {
203203
table.
204204
</span>
205205
),
206-
text: ({ analysisState, wdkState }: TextCellContext) => {
206+
text: ({
207+
analysisState,
208+
wdkState,
209+
stepNumbers,
210+
}: TextCellContext) => {
207211
const submitButtonText =
208212
wdkState?.submitButtonText ?? 'Get Answer';
209213

@@ -269,8 +273,8 @@ export const presetNotebooks: Record<string, PresetNotebook> = {
269273
marginTop: '0.5em',
270274
}}
271275
>
272-
To make adjustments, update the volcano plot settings
273-
above.
276+
To make adjustments, update the volcano plot settings in
277+
step {stepNumbers?.get('de_volcano') ?? 'above'}.
274278
</span>
275279
</div>
276280
</div>

0 commit comments

Comments
 (0)