You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "nausharipov (via GitHub)" <gi...@apache.org> on 2023/05/22 15:02:03 UTC
[GitHub] [beam] nausharipov commented on a diff in pull request #26737: [Playground] Refuse RunCode requests if NUM_PARALLEL_JOBS is exceeded
nausharipov commented on code in PR #26737:
URL: https://github.com/apache/beam/pull/26737#discussion_r1200637000
##########
playground/frontend/lib/pages/embedded_playground/widgets/embedded_appbar_title.dart:
##########
@@ -44,7 +44,7 @@ class EmbeddedAppBarTitle extends StatelessWidget {
icon: SvgPicture.asset(Assets.copy),
onPressed: () {
final source = controller.source;
- Clipboard.setData(ClipboardData(text: source));
+ Clipboard.setData(ClipboardData(text: source ?? ''));
Review Comment:
?
```suggestion
if(source != null) {
Clipboard.setData(ClipboardData(text: source));
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org