Skip to content

Commit

Permalink
projector: fix label/color legend (tensorflow#5974)
Browse files Browse the repository at this point in the history
## Motivation for features / changes

Inside the projector plugin, a legend for labels/colors should appear
when selecting a field from the "Color by" drop-down menu yet is not
displayed.

## Technical description of changes

The `dom-if` property is misconfigured for the `vz-projector-legend`
template.

Co-authored-by: Marco Romanelli <[email protected]>
  • Loading branch information
2 people authored and yatbear committed Mar 27, 2023
1 parent ac176a3 commit 0a7d33b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export const template = html`
coloring by a given metadata field.
</paper-tooltip>
</div>
<template dom-if="[[colorLegendRenderInfo]]">
<template is="dom-if" if="[[colorLegendRenderInfo]]">
<vz-projector-legend
render-info="[[colorLegendRenderInfo]]"
></vz-projector-legend>
Expand Down

0 comments on commit 0a7d33b

Please sign in to comment.