Skip to content

Commit

Permalink
Add url attribute to deep link. (#7713)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed May 13, 2024
1 parent 17340ed commit 70afdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/frontend/templates/report.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ String renderReportPage({
required String? url,
}) {
final kindLabel = _subjectKindLabels[subject.kind] ?? 'about';
// TODO: also add `url`
final lcpsDeepLink =
Uri.parse('https://reportcontent.google.com/troubleshooter').replace(
queryParameters: {
'product': 'dart_pub',
'content_id': subject.canonicalUrl,
if (url != null) 'url': url,
},
);
return renderLayoutPage(
Expand Down

0 comments on commit 70afdc2

Please sign in to comment.