We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da2799b commit d022df3Copy full SHA for d022df3
1 file changed
mdl/backend/mpr/page_mutator.go
@@ -254,7 +254,7 @@ func (m *mprPageMutator) DropVariable(name string) error {
254
}
255
256
func (m *mprPageMutator) SetLayout(newLayout string, paramMappings map[string]string) error {
257
- if m.containerType == "snippet" {
+ if m.containerType == backend.ContainerSnippet {
258
return fmt.Errorf("SET Layout is not supported for snippets")
259
260
0 commit comments