mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 00:09:18 +00:00
Remove empty select option in content type form create
This commit is contained in:
parent
8903a6bf57
commit
ae1cead24d
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user