Skip to content

Commit 26f8336

Browse files
committed
feat: add no action selected message
1 parent 58aff98 commit 26f8336

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/components/run/InterpretationLog.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,16 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
513513
{t('interpretation_log.titles.output_preview')}
514514
</Typography>
515515

516+
{!(hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction) && (
517+
<Grid container justifyContent="center" alignItems="center" style={{ height: '100%' }}>
518+
<Grid item>
519+
<Typography variant="h6" gutterBottom align="left">
520+
{t('interpretation_log.messages.no_selection')}
521+
</Typography>
522+
</Grid>
523+
</Grid>
524+
)}
525+
516526
{showPreviewData && availableTabs.length > 0 && (
517527
<>
518528
{shouldShowTabs && (

0 commit comments

Comments
 (0)