Add missing meta.style update check to page layouts
This commit is contained in:
committed by
Jože Fortun
parent
c62b7b61a1
commit
16a30425ab
@@ -511,6 +511,11 @@ func (svc pageLayout) handleUpdate(ctx context.Context, upd *types.PageLayout) p
|
||||
changes |= pageLayoutChanged
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(res.Meta.Style, upd.Meta.Style) {
|
||||
res.Meta.Style = upd.Meta.Style
|
||||
changes |= pageLayoutChanged
|
||||
}
|
||||
|
||||
if res.Primary != upd.Primary {
|
||||
res.Primary = upd.Primary
|
||||
changes |= pageLayoutChanged
|
||||
|
||||
Reference in New Issue
Block a user