Skip to content

Commit

Permalink
[Merge 107] [journeys] Hide badges for side panel
Browse files Browse the repository at this point in the history
Before: http://screenshot/38xrkoTxmajvjcC
After: http://screenshot/3dFk2MfMiMUQ8wH

(cherry picked from commit f5c576e)

Bug: 1372278
Change-Id: Iad55821aff686474db7f9e73b4538b4d94c2f9c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3951131
Reviewed-by: Tommy Li <tommycli@chromium.org>
Commit-Queue: Marlon Facey <mfacey@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1058988}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3962268
Commit-Queue: Tommy Li <tommycli@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Marlon Facey <mfacey@chromium.org>
Cr-Commit-Position: refs/branch-heads/5359@{#52}
Cr-Branched-From: 27d3765-refs/heads/main@{#1058933}
  • Loading branch information
Marlon Facey authored and Chromium LUCI CQ committed Oct 18, 2022
1 parent 9c48c2f commit f523771
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ class VisitRowElement extends ClusterMenuElementBase {
//============================================================================

private computeAnnotations_(): string[] {
// Disabling annotations until more appropriate design for annotations in
// the side panel is complete.
if (this.inSidePanel_) {
return [];
}
return this.visit.annotations
.map((annotation: number) => annotationToStringId.get(annotation))
.filter(
Expand Down

0 comments on commit f523771

Please sign in to comment.