diff --git a/src/ui/run-history-ui-handler.ts b/src/ui/run-history-ui-handler.ts index 771c281807e..745e3e14194 100644 --- a/src/ui/run-history-ui-handler.ts +++ b/src/ui/run-history-ui-handler.ts @@ -90,7 +90,7 @@ export default class RunHistoryUiHandler extends MessageUiHandler { if (button === Button.ACTION || button === Button.CANCEL) { if (button === Button.ACTION) { const cursor = this.cursor + this.scrollCursor; - if (this.runs[cursor].hasData) { + if (this.runs[cursor]) { this.scene.ui.setOverlayMode(Mode.RUN_INFO, this.runs[cursor].entryData, true); } else { return false;