ElessarST commented on a change in pull request #16857:
URL: https://github.com/apache/beam/pull/16857#discussion_r808807844
##########
File path:
playground/frontend/lib/modules/examples/components/description_popover/description_popover.dart
##########
@@ -46,6 +51,14 @@ class DescriptionPopover extends StatelessWidget {
),
),
Text(example.description),
+ if (example.link?.isNotEmpty ?? false)
Review comment:
@damondouglas I left to condition on the array, but I refactored it and
I think it's now clear with the condition.
```
Wrap(
runSpacing: kMdSpacing,
children: [
title,
description,
if (hasLink) getViewOnGithub(context),
],
),
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]