Remove empty select option in content type form create

This commit is contained in:
cyril lopez 2017-10-17 17:42:18 +02:00
parent 8903a6bf57
commit ae1cead24d

View File

@ -65,7 +65,7 @@ export function connectionsFetch() {
export function connectionsFetchSucceeded(data) {
const connections = map(data.connections, (connection) => ({ name: connection, value: connection }));
connections.splice(0,0, { name: '', value: '' });
// connections.splice(0,0, { name: '', value: '' });
return {
type: CONNECTIONS_FETCH_SUCCEEDED,
connections,