Fix select description

This commit is contained in:
soupette 2019-12-11 17:37:31 +01:00
parent fc1cbbd753
commit ee9af6c0d3
3 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,9 @@
}, },
"very_long_description": { "very_long_description": {
"type": "richtext" "type": "richtext"
},
"category": {
"model": "category"
} }
} }
} }

View File

@ -122,6 +122,10 @@ const Nav = styled.nav`
font-family: 'Lato'; font-family: 'Lato';
font-size: 1.2rem; font-size: 1.2rem;
margin-top: -5px; margin-top: -5px;
max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
} }
`; `;

View File

@ -182,6 +182,7 @@ const EditSettingsView = ({
delete body.schema; delete body.schema;
delete body.uid; delete body.uid;
delete body.isComponent; delete body.isComponent;
delete body.category;
await request(getRequestUrl(`${type}/${slug || componentSlug}`), { await request(getRequestUrl(`${type}/${slug || componentSlug}`), {
method: 'PUT', method: 'PUT',