mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
Fixes #2541
This commit is contained in:
parent
94c2f0e999
commit
925438d7b5
@ -110,7 +110,7 @@ export class EditPage extends React.Component { // eslint-disable-line react/pre
|
||||
showLoaderForm = () => {
|
||||
const { editPage: { modifiedData }, match: { params: { actionType } } } = this.props;
|
||||
|
||||
return actionType !== 'create' && get(modifiedData, ['name'], '') === '';
|
||||
return actionType !== 'create' && isEmpty(modifiedData);
|
||||
}
|
||||
|
||||
showLoaderPermissions = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user