Skip to content

Commit

Permalink
Merge pull request #2065 from metalice/CNV-43667-clipboard-text-is-un…
Browse files Browse the repository at this point in the history
…defined

CNV-43667: Clipboardtext is undefined
  • Loading branch information
openshift-merge-bot[bot] authored Jul 1, 2024
2 parents 82bef53 + ab2af62 commit 36c5a30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const VncConsole: FC<VncConsoleProps> = ({
this.sendKey(char.charCodeAt(0));
shiftRequired && this.sendKey(KeyTable.XK_Shift_L, 'ShiftLeft', false);
i === lastItem &&
clipboardText.charCodeAt(lastItem) === 13 &&
clipboardText?.charCodeAt(lastItem) === 13 &&
this.sendKey(KeyTable.XK_KP_Enter);
}
};
Expand Down

0 comments on commit 36c5a30

Please sign in to comment.