add vertical panel option to dashboard settings page

This commit is contained in:
pa
2026-03-13 09:51:42 +09:00
parent 73493cb0aa
commit bb32b6e92b
5 changed files with 37 additions and 9 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ function cloneRows(rows) {
if (!panels.length) {
return null;
}
return { panels };
const direction =
row?.direction === 'vertical' ? 'vertical' : 'horizontal';
return { panels, direction };
})
.filter(Boolean);
}