Fix customers autocompleter not working

This commit is contained in:
Albert Juhé Lluveras 2018-12-10 16:23:34 +01:00
parent 6208fb9f34
commit 51bc679fd0
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import classnames from 'classnames';
* Internal dependencies
*/
import Autocomplete from './autocomplete';
import { coupons, product, productCategory, taxes, variations } from './autocompleters';
import { coupons, customers, product, productCategory, taxes, variations } from './autocompleters';
import Tag from '../tag';
/**
@ -76,6 +76,8 @@ class Search extends Component {
return taxes;
case 'variations':
return variations;
case 'customers':
return customers;
default:
return {};
}