15255: Log missing workbench2Url value to console.
[arvados.git] / src / components / autocomplete / autocomplete.tsx
index 52918c34ab47ee68c009cff6bd5bfdb42b80598b..4b19b77115b388e3613c6004013ef6501aded2b6 100644 (file)
@@ -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;