Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@diamondlightsource/cs-web-lib",
"type": "module",
"version": "0.11.2",
"version": "0.11.3",
"description": "Control system web library",
"main": "./dist/index.cjs",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/ui/widgets/DisplayReactGridLayout/displayGridLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ export const DisplayGridLayoutComponent = (
gridLayoutColumns: columns,
gridCellMargins: cellMargins,
gridCellHeight: cellHeight,
gridCellDragEnabled,
gridCellResizeEnabled
gridCellDragEnabled: props.gridCellDragEnabled ?? true,
gridCellResizeEnabled: props.gridCellResizeEnabled ?? true
})
);
}, [
Expand All @@ -244,8 +244,8 @@ export const DisplayGridLayoutComponent = (
displayWidth,
cellMargins,
cellHeight,
gridCellDragEnabled,
gridCellResizeEnabled
props.gridCellDragEnabled,
props.gridCellResizeEnabled
]);

const {
Expand Down
8 changes: 4 additions & 4 deletions src/ui/widgets/DisplayReactGridLayout/displayResponsive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ export const DisplayResponsiveComponent = (props: propsType): JSX.Element => {
cellMargins,
cellHeight,
dispatch,
gridCellDragEnabled,
gridCellResizeEnabled
newProps.gridCellDragEnabled ?? true,
newProps.gridCellResizeEnabled ?? true
),
[
dispatch,
Expand All @@ -265,8 +265,8 @@ export const DisplayResponsiveComponent = (props: propsType): JSX.Element => {
breakpoints,
cellMargins,
cellHeight,
gridCellDragEnabled,
gridCellResizeEnabled,
newProps.gridCellDragEnabled,
newProps.gridCellResizeEnabled,
areBreakpointsConsistent
]
);
Expand Down
Loading