Fix rebase lapsus omitting page.Config field
This commit is contained in:
parent
e2e284ce0a
commit
0b98c786dd
@ -606,6 +606,11 @@ func (svc page) handleUpdate(ctx context.Context, upd *types.Page) pageUpdateHan
|
||||
changes |= pageChanged
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(res.Config, upd.Config) {
|
||||
res.Config = upd.Config
|
||||
changes |= pageChanged
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(res.Blocks, upd.Blocks) {
|
||||
res.Blocks = upd.Blocks
|
||||
changes |= pageChanged
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user