mirror of
https://github.com/strapi/strapi.git
synced 2025-08-19 06:08:50 +00:00
Remove the modal s auto opening after the submit of an edited field
This commit is contained in:
parent
c62da404a5
commit
55d0fbfeea
@ -376,7 +376,7 @@ export class ModelPage extends React.Component {
|
||||
push({ search: nextSearch });
|
||||
};
|
||||
|
||||
handleSubmitEdit = (shouldContinue = false) => {
|
||||
handleSubmitEdit = () => {
|
||||
const {
|
||||
history: { push },
|
||||
saveEditedAttribute,
|
||||
@ -390,9 +390,7 @@ export class ModelPage extends React.Component {
|
||||
saveEditedAttribute(attributeName, this.isUpdatingTemporaryContentType(), this.getModelName());
|
||||
}
|
||||
|
||||
const nextSearch = shouldContinue ? 'modalType=chooseAttributes' : '';
|
||||
|
||||
push({ search: nextSearch });
|
||||
push({ search: '' });
|
||||
};
|
||||
|
||||
hasModelBeenModified = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user