mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Merge pull request #14423 from strapi/feature/relations-main-view-publish
EditViewDataManagerProvider: Fix publish button state comparison
This commit is contained in:
commit
5e4ac5659a
@ -199,8 +199,8 @@ const reducer = (state, action) =>
|
||||
const { connect, disconnect, ...currentState } = state.modifiedData?.[name] ?? {};
|
||||
|
||||
acc[name] = {
|
||||
...(initialValues?.[name] ?? {}),
|
||||
...(currentState ?? {}),
|
||||
...(initialValues?.[name] ?? {}),
|
||||
};
|
||||
|
||||
return acc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user