diff --git a/src/components/Cell.tsx b/src/components/Cell.tsx index 4d7921e..649eaac 100644 --- a/src/components/Cell.tsx +++ b/src/components/Cell.tsx @@ -7,6 +7,7 @@ const Cell = ({ cellId }: { cellId: string }) => { const { executeCell, cellState, executionCount } = useCell(cellId); let actionIcon = "▶"; + let showExecutionCountAs = executionCount === null ? " " : executionCount; switch (cellState) { case "idle": @@ -18,6 +19,7 @@ const Cell = ({ cellId }: { cellId: string }) => { case "busy": case "queued": actionIcon = "⏹"; + showExecutionCountAs = "*"; break; } @@ -29,7 +31,7 @@ const Cell = ({ cellId }: { cellId: string }) => { onClick={executeCell} > [