[arvados-workbench2] updated: 2.5.0-18-g8e91af9b

git repository hosting git at public.arvados.org
Fri Feb 10 18:40:59 UTC 2023


Summary of changes:
 src/components/autocomplete/autocomplete.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  8e91af9bd8d0a66d1181e4db8b72efc632c27ad5 (commit)
      from  bac1986d6e2506f35283c5ba1c9f19c39ac5dd79 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8e91af9bd8d0a66d1181e4db8b72efc632c27ad5
Author: Stephen Smith <stephen at curii.com>
Date:   Fri Feb 10 13:40:24 2023 -0500

    19294: Fix autocomplete component chip tooltip edge case
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/components/autocomplete/autocomplete.tsx b/src/components/autocomplete/autocomplete.tsx
index b2a10ec7..b5c634c3 100644
--- a/src/components/autocomplete/autocomplete.tsx
+++ b/src/components/autocomplete/autocomplete.tsx
@@ -174,7 +174,7 @@ export class Autocomplete<Value, Suggestion> extends React.Component<Autocomplet
         return items.map(
             (item, index) => {
                 const tooltip = this.props.renderChipTooltip ? this.props.renderChipTooltip(item) : '';
-                if (tooltip.length) {
+                if (tooltip && tooltip.length) {
                     return <Tooltip title={tooltip}>
                         <Chip
                             label={this.renderChipValue(item)}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list