File tree Expand file tree Collapse file tree
app/src/pages/session/composer
session-ui/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -432,21 +432,23 @@ export const SessionQuestionDock: Component<{ request: QuestionRequest; onSubmit
432432 header = {
433433 < >
434434 < div data-slot = "question-header-title" > { summary ( ) } </ div >
435- < div data-slot = "question-progress" >
436- < For each = { questions ( ) } >
437- { ( _ , i ) => (
438- < button
439- type = "button"
440- data-slot = "question-progress-segment"
441- data-active = { i ( ) === store . tab }
442- data-answered = { answered ( i ( ) ) }
443- disabled = { sending ( ) }
444- onClick = { ( ) => jump ( i ( ) ) }
445- aria-label = { `${ language . t ( "ui.tool.questions" ) } ${ i ( ) + 1 } ` }
446- />
447- ) }
448- </ For >
449- </ div >
435+ < Show when = { total ( ) > 1 } >
436+ < div data-slot = "question-progress" >
437+ < For each = { questions ( ) } >
438+ { ( _ , i ) => (
439+ < button
440+ type = "button"
441+ data-slot = "question-progress-segment"
442+ data-active = { i ( ) === store . tab }
443+ data-answered = { answered ( i ( ) ) }
444+ disabled = { sending ( ) }
445+ onClick = { ( ) => jump ( i ( ) ) }
446+ aria-label = { `${ language . t ( "ui.tool.questions" ) } ${ i ( ) + 1 } ` }
447+ />
448+ ) }
449+ </ For >
450+ </ div >
451+ </ Show >
450452 </ >
451453 }
452454 footer = {
Original file line number Diff line number Diff line change 918918 line-height : var (--line-height-large );
919919 color : var (--text-strong );
920920 padding : 0 10px ;
921+ -webkit-user-select : text;
922+ user-select : text;
921923 }
922924
923925 [data-slot = "question-hint" ] {
You can’t perform that action at this time.
0 commit comments