mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
EditViewDataManagerProvider: Fix publish button state comparison
This commit is contained in:
parent
b601daa36b
commit
0c248d0b3a
@ -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