fix: preserve custom layout role type

This commit is contained in:
ajnart committed 2026-08-23 01:13:00 +02:00
1 parent 71ffa5d1be
commit 9eafd4f7a7
1 file changed
+1 -1
@@ -135,7 +135,7 @@ export const LayoutSettingsContent = ({ board, form, isSaving, saveSettingsAsync
leftGutterColumnCount: baseLayout.leftGutterColumnCount,
rightGutterColumnCount: baseLayout.rightGutterColumnCount,
breakpoint: nextBreakpoint,
role: "custom",
role: "custom" as const,
},
].toSorted((layoutA, layoutB) => layoutA.breakpoint - layoutB.breakpoint);
form.setFieldValue("layouts", layouts);