[ARVADOS-WORKBENCH2] updated: 1.3.0-215-gfca732a2

Git user git at public.curoverse.com
Tue Dec 18 07:40:24 EST 2018


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

       via  fca732a280e0e078a026ef8326eb5ad65f9864c6 (commit)
      from  79e636fa713d11b4b7188985e78c8ff1c094d9a0 (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 fca732a280e0e078a026ef8326eb5ad65f9864c6
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Tue Dec 18 13:40:07 2018 +0100

    Add comment about renderChips condition
    
    Feature #14603
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/components/autocomplete/autocomplete.tsx b/src/components/autocomplete/autocomplete.tsx
index 52918c34..4b19b771 100644
--- a/src/components/autocomplete/autocomplete.tsx
+++ b/src/components/autocomplete/autocomplete.tsx
@@ -156,6 +156,7 @@ export class Autocomplete<Value, Suggestion> extends React.Component<Autocomplet
         /**
          * If input startAdornment prop is not undefined, input's label will stay above the input.
          * If there is not items, we want the label to go back to placeholder position.
+         * That why we return without a value instead of returning a result of a _map_ which is an empty array.
          */
         if (items.length === 0) {
             return;

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list