fix: preserve custom layout role type
This commit is contained in:
1 parent
71ffa5d1be
commit
9eafd4f7a7
1 file changed
+1
-1
@@ -135,7 +135,7 @@ export const LayoutSettingsContent = ({ board, form, isSaving, saveSettingsAsync
|
|||||||
leftGutterColumnCount: baseLayout.leftGutterColumnCount,
|
leftGutterColumnCount: baseLayout.leftGutterColumnCount,
|
||||||
rightGutterColumnCount: baseLayout.rightGutterColumnCount,
|
rightGutterColumnCount: baseLayout.rightGutterColumnCount,
|
||||||
breakpoint: nextBreakpoint,
|
breakpoint: nextBreakpoint,
|
||||||
role: "custom",
|
role: "custom" as const,
|
||||||
},
|
},
|
||||||
].toSorted((layoutA, layoutB) => layoutA.breakpoint - layoutB.breakpoint);
|
].toSorted((layoutA, layoutB) => layoutA.breakpoint - layoutB.breakpoint);
|
||||||
form.setFieldValue("layouts", layouts);
|
form.setFieldValue("layouts", layouts);
|
||||||
|
|||||||
Reference in new issue
Block a user