You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/12/13 14:30:33 UTC

[GitHub] [beam] pabloem commented on a change in pull request #16193: [BEAM-13423] [Bugiix] [Playground]: fix frontend failure if no examples

pabloem commented on a change in pull request #16193:
URL: https://github.com/apache/beam/pull/16193#discussion_r767808519



##########
File path: playground/frontend/lib/pages/playground/components/playground_page_providers.dart
##########
@@ -89,6 +89,9 @@ class PlaygroundPageProviders extends StatelessWidget {
         .expand((sdkCategory) => sdkCategory.map((e) => e.examples))
         .expand((element) => element)
         .toList();
+    if (allExamples?.isEmpty ?? true) {

Review comment:
       do you need the `true` here? (asking as someone who does not know Dart)




-- 
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